[
https://issues.apache.org/jira/browse/BEAM-8959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994926#comment-16994926
]
Maximilian Michels commented on BEAM-8959:
------------------------------------------
That would be a fix for that particular option but not a general fix.
Generally, we could automatically add a "disable option" for all boolean
options which default to {{true}}, e.g. {{--no-enable-metrics}}, like proposed
in https://stackoverflow.com/a/15008806/2225100.
> Boolean pipeline options which default to true cannot be set to false
> ---------------------------------------------------------------------
>
> Key: BEAM-8959
> URL: https://issues.apache.org/jira/browse/BEAM-8959
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Maximilian Michels
> Priority: Critical
>
> With the included argument parser, any boolean pipeline options which default
> to true cannot be set to false, e.g. {{--enable_metrics=false}}:
> {noformat}
> error: argument --enable_metrics: ignored explicit argument 'false'
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)