Jason Kuster created BEAM-4243:
----------------------------------

             Summary: Consolidate Python Label Flag Handling
                 Key: BEAM-4243
                 URL: https://issues.apache.org/jira/browse/BEAM-4243
             Project: Beam
          Issue Type: Bug
          Components: runner-dataflow, sdk-py-core
            Reporter: Jason Kuster
            Assignee: Thomas Groh


Python GoogleCloudOptions --labels flag 
([https://github.com/apache/beam/blob/master/sdks/python/apache_beam/options/pipeline_options.py#L371|https://github.com/apache/beam/blob/master/sdks/python/apache_beam/options/pipeline_options.py#L371)]
 ) diverges from the Java and Go implementations and should have its 
functionality consolidated. Java and Go expect --labels=<json-formatted 
map[string]string>; python allows passing multiple --label x=y (or --labels 
x=y) flags.

Given that this flag has already been included in a released Python SDK, fixing 
this bug either requires addition of a new flag or detection of format for 
existing flag. This decision is left to the discretion of the implementer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to