Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6162

Python PipelineOptions raises "ambiguous option" error due to argparse behavior

Details

    • Bug
    • Status: Resolved
    • P0
    • Resolution: Fixed
    • None
    • 2.9.0
    • sdk-py-core
    • None

    Description

      I am running an Jupyter notebook with an --profile option.  This works in 2.8.0 but is broken after https://github.com/apache/beam/pull/6847 as the Python PipelineOptions raises "ambiguous option" error due to argparse behavior of trying to autocomplete options by prefix (this behavior is due to https://bugs.python.org/issue29777 which the Python dev team does not want to fix).

      Attachments

        Activity

          People

            ccy Charles Chen
            ccy Charles Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 50m
                1h 50m