tvalentyn commented on PR #23569:
URL: https://github.com/apache/beam/pull/23569#issuecomment-1279268274

   @lukecwik good point.
   @ricardograca-scratch you can mirror the implementation of 
dataflow_service_options. See:
   
   
https://github.com/apache/beam/blob/2d84233009ffe7488649efbb0acdfb9fea7fdf31/sdks/python/apache_beam/options/pipeline_options.py#L742-L753
   
   
https://github.com/apache/beam/blob/2d84233009ffe7488649efbb0acdfb9fea7fdf31/sdks/python/apache_beam/options/pipeline_options.py#L814
   
   
https://github.com/apache/beam/blob/45cc0854be553b5138753cf649fa863a80ff2b04/sdks/python/apache_beam/options/pipeline_options_test.py#L624
   
   a repeatable option :  ` --oauth_scopes + --oauth_scope (alias)` sounds good.
   
   you can then combine the content with the `CLIENT_SCOPES` wherever scopes 
are consumed. `CLIENT_SCOPES` can be renamed into `REQUIRED_OAUTH_SCOPES` to 
disambiguate required + additional.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to