Skip to content

Commit

Permalink
update generator file
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmayr committed Sep 3, 2024
1 parent 9aac0e7 commit 2c28ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gapic/generator/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ def _render_template(
or
# TODO: Remove the following conditions once support for async rest transport is GA:
# See related issue: https://github.com/googleapis/gapic-generator-python/issues/2121.
('async_client' in template_name and 'grpc' not in opts.transport or
not api_schema.all_library_settings[api_schema.naming.proto_package].python_settings.experimental_features.rest_async_io_enabled)
('async_client' in template_name and ('grpc' not in opts.transport or
not api_schema.all_library_settings[api_schema.naming.proto_package].python_settings.experimental_features.rest_async_io_enabled))
or
('rest_asyncio' in template_name or
not api_schema.all_library_settings[api_schema.naming.proto_package].python_settings.experimental_features.rest_async_io_enabled)
Expand Down

0 comments on commit 2c28ab3

Please sign in to comment.