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

   > For a simple improvement, we could make a pipeline option that each user 
can configure with the existing scopes being the default?
   
   FWIW this is straightforward. `pipeline_options` are available in both 
places `CLIENT_SCOPES` is currently used. we can add, for example an option 
`--custom_oauth_scopes` , that will store semicolon-separated strings here:
   
   
https://github.com/apache/beam/blob/2d84233009ffe7488649efbb0acdfb9fea7fdf31/sdks/python/apache_beam/options/pipeline_options.py#L767
   
   We can add the contents of that option the the default scopes currently 
hardcoded.


-- 
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