This repository was archived by the owner on Mar 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
gapic/templates/$namespace/$name_$version/types/$sub Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ from . import {{ subpackage }}
1313-#}
1414{% for proto in api .protos .values ()|sort (attribute ='module_name' )
1515 if proto .meta .address .subpackage == api .subpackage_view -%}
16- {% for message in proto .messages .values ()|sort (attribute ='name' ) -%}
16+ {% for message in proto .top . messages .values ()|sort (attribute ='name' ) -%}
1717from .{{ proto.module_name }} import {{ message.name }}
1818{% endfor %}{% endfor %}
1919
@@ -24,7 +24,7 @@ __all__ = (
2424 {% - endfor %}
2525 {% - for proto in api .protos .values ()|sort (attribute ='module_name' )
2626 if proto .meta .address .subpackage == api .subpackage_view %}
27- {% - for message in proto .messages .values ()|sort (attribute ='name' ) %}
27+ {% - for message in proto .top . messages .values ()|sort (attribute ='name' ) %}
2828 '{{ message.name }}',
2929 {% - endfor %}{% endfor %}
3030)
Original file line number Diff line number Diff line change 2525
2626setup (
2727 name = 'gapic-generator' ,
28- version = '0.3.0 ' ,
28+ version = '0.3.1 ' ,
2929 license = 'Apache 2.0' ,
3030 author = 'Luke Sneeringer' ,
3131 author_email = 'lukesneeringer@google.com' ,
You can’t perform that action at this time.
0 commit comments