Luke Cwik created BEAM-12584:
--------------------------------

             Summary: 2.1.1 documentation for pipeline options for python are 
incorrect
                 Key: BEAM-12584
                 URL: https://issues.apache.org/jira/browse/BEAM-12584
             Project: Beam
          Issue Type: Bug
          Components: website
            Reporter: Luke Cwik
            Assignee: Luke Cwik


But the python code on the item 2.1.1. Setting PipelineOptions from 
command-line arguments is wrong.

According to [Google 
docs|https://cloud.google.com/dataflow/docs/guides/setting-pipeline-options#python_1]
 it should be:

{code:python}
from apache_beam.options.pipeline_options import PipelineOptions

options = PipelineOptions(flags=argv)
{code}


From
https://lists.apache.org/thread.html/r7bb937c7e257649904123fe3b7d8b6cbe8bc5f4901ab8415df3be488%40%3Cdev.beam.apache.org%3E



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to