We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 850eb8a commit e7693b2Copy full SHA for e7693b2
1 file changed
packages/gapic-generator/gapic/ads-templates/tests/unit/gapic/%name_%version/%sub/test_%service.py.j2
@@ -6,7 +6,6 @@
6
import os
7
{% if api.all_method_settings.values()|map(attribute="auto_populated_fields", default=[])|select|list %}
8
import re
9
-_UUID4_RE = re.compile(r"{{ uuid4_re }}")
10
{% endif %}
11
from unittest import mock
12
from unittest.mock import AsyncMock
@@ -71,6 +70,9 @@ from google.iam.v1 import policy_pb2 # type: ignore
71
70
{% endfilter %}
72
{{ shared_macros.add_google_api_core_version_header_import(service.version) }}
73
+{% if api.all_method_settings.values()|map(attribute="auto_populated_fields", default=[])|list %}
74
+_UUID4_RE = re.compile(r"{{ uuid4_re }}")
75
+{% endif %}
76
77
78
def client_cert_source_callback():
0 commit comments