def Args(parser): region_prop = properties.VALUES.dataproc.region parser.add_argument( '--region', help=region_prop.help_text, # Don't set default, because it would override users' property setting. action=actions.StoreProperty(region_prop)) flags.AddFileFlag(parser, 'workflow template', 'run') base.ASYNC_FLAG.AddToParser(parser)
def Args(cls, parser): flags.AddRegionFlag(parser) flags.AddFileFlag(parser, 'workflow template', 'run') base.ASYNC_FLAG.AddToParser(parser)