We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a8c9fd commit d34accaCopy full SHA for d34acca
.generator/cli.py
@@ -289,6 +289,9 @@ def handle_generate(
289
generator_options.append(
290
f"{config_key_map[key]}={config_value},"
291
)
292
+ optional_arguments = result[py_gapic_entry].get("opt_args", None)
293
+ if optional_arguments:
294
+ [generator_options.append(f"{opt_arg},") for opt_arg in optional_arguments]
295
with tempfile.TemporaryDirectory() as tmp_dir:
296
generator_command = (
297
f"protoc {api_path}/*.proto --python_gapic_out={tmp_dir}"
0 commit comments