How to use 'add_value_provider_argument' to initialise runtime parameter?
问题 Take the official document 'Creating Templates' as an example: https://cloud.google.com/dataflow/docs/templates/creating-templates class WordcountOptions(PipelineOptions): @classmethod def _add_argparse_args(cls, parser): # Use add_value_provider_argument for arguments to be templatable # Use add_argument as usual for non-templatable arguments parser.add_value_provider_argument( '--input', default='gs://dataflow-samples/shakespeare/kinglear.txt', help='Path of the file to read from') parser