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

Commit b998d09

Browse files
authored
chore: satiate mypy (#880)
1 parent 131e4cf commit b998d09

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

gapic/generator/generator.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def get_response(
8989
sample_templates, client_templates = utils.partition(
9090
lambda fname: os.path.basename(
9191
fname) == samplegen.DEFAULT_TEMPLATE_NAME,
92-
self._env.loader.list_templates(),
92+
self._env.loader.list_templates(), # type: ignore
9393
)
9494

9595
# Iterate over each template and add the appropriate output files
@@ -113,7 +113,7 @@ def get_response(
113113
sample_output = self._generate_samples_and_manifest(
114114
api_schema, self._env.get_template(sample_templates[0]),
115115
opts=opts,
116-
)
116+
)
117117
output_files.update(sample_output)
118118

119119
# Return the CodeGeneratorResponse output.
@@ -286,10 +286,10 @@ def _render_template(
286286
for service in api_schema.services.values():
287287
if (
288288
(skip_subpackages
289-
and service.meta.address.subpackage != api_schema.subpackage_view)
289+
and service.meta.address.subpackage != api_schema.subpackage_view)
290290
or
291291
('transport' in template_name
292-
and not self._is_desired_transport(template_name, opts))
292+
and not self._is_desired_transport(template_name, opts))
293293
or
294294
# TODO(yon-mg) - remove when rest async implementation resolved
295295
# temporarily stop async client gen while rest async is unkown

0 commit comments

Comments
 (0)