You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/07/07 17:51:00 UTC
[jira] [Updated] (BEAM-12584) 2.1.1 documentation for pipeline
options for python are incorrect
[ https://issues.apache.org/jira/browse/BEAM-12584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Knowles updated BEAM-12584:
-----------------------------------
Status: Open (was: Triage Needed)
> 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
> Priority: P2
>
> 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)