We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 107a558 commit b025102Copy full SHA for b025102
sdks/python/apache_beam/options/pipeline_options.py
@@ -508,7 +508,7 @@ def get_all_options(
508
subset = {}
509
parser = _BeamArgumentParser(allow_abbrev=False)
510
for cls in PipelineOptions.__subclasses__():
511
- subset[str(cls)] = cls
+ subset.setdefault(str(cls), cls)
512
for cls in subset.values():
513
cls._add_argparse_args(parser) # pylint: disable=protected-access
514
if add_extra_args_fn:
0 commit comments