Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 2c28ab3

Browse files
committed
update generator file
1 parent 9aac0e7 commit 2c28ab3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gapic/generator/generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ def _render_template(
296296
or
297297
# TODO: Remove the following conditions once support for async rest transport is GA:
298298
# See related issue: https://github.com/googleapis/gapic-generator-python/issues/2121.
299-
('async_client' in template_name and 'grpc' not in opts.transport or
300-
not api_schema.all_library_settings[api_schema.naming.proto_package].python_settings.experimental_features.rest_async_io_enabled)
299+
('async_client' in template_name and ('grpc' not in opts.transport or
300+
not api_schema.all_library_settings[api_schema.naming.proto_package].python_settings.experimental_features.rest_async_io_enabled))
301301
or
302302
('rest_asyncio' in template_name or
303303
not api_schema.all_library_settings[api_schema.naming.proto_package].python_settings.experimental_features.rest_async_io_enabled)

0 commit comments

Comments
 (0)