diff --git a/gapic/ads-templates/%namespace/%name/%version/%sub/types/_enum.py.j2 b/gapic/ads-templates/%namespace/%name/%version/%sub/types/_enum.py.j2 index 8921af3070..cf82d19ea1 100644 --- a/gapic/ads-templates/%namespace/%name/%version/%sub/types/_enum.py.j2 +++ b/gapic/ads-templates/%namespace/%name/%version/%sub/types/_enum.py.j2 @@ -1,7 +1,7 @@ class {{ enum.name }}({{ p }}.Enum): r"""{{ enum.meta.doc|rst(indent=4) }}""" {% if enum.enum_pb.HasField("options") %} - _pb_options = {{ enum.options_dict }} + _pb_options = {{ enum.options_dict }} {% endif %} {% for enum_value in enum.values %} {{ enum_value.name }} = {{ enum_value.number }} diff --git a/gapic/templates/%namespace/%name_%version/%sub/types/_enum.py.j2 b/gapic/templates/%namespace/%name_%version/%sub/types/_enum.py.j2 index 8921af3070..cf82d19ea1 100644 --- a/gapic/templates/%namespace/%name_%version/%sub/types/_enum.py.j2 +++ b/gapic/templates/%namespace/%name_%version/%sub/types/_enum.py.j2 @@ -1,7 +1,7 @@ class {{ enum.name }}({{ p }}.Enum): r"""{{ enum.meta.doc|rst(indent=4) }}""" {% if enum.enum_pb.HasField("options") %} - _pb_options = {{ enum.options_dict }} + _pb_options = {{ enum.options_dict }} {% endif %} {% for enum_value in enum.values %} {{ enum_value.name }} = {{ enum_value.number }}