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

Commit 7ec78f2

Browse files
committed
fix: also add the async client to __all__
1 parent 396e597 commit 7ec78f2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

gapic/templates/%namespace/%name_%version/%sub/__init__.py.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ __all__ = (
4343
{% for service in api.services.values()
4444
if service.meta.address.subpackage == api.subpackage_view -%}
4545
'{{ service.client_name }}',
46+
{% if 'grpc' in opts.transport %}
47+
'{{ service.async_client_name }}',
48+
{% endif %}
4649
{% endfor -%}
4750
{% for proto in api.protos.values()
4851
if proto.meta.address.subpackage == api.subpackage_view -%}

0 commit comments

Comments
 (0)