ibzib commented on pull request #14938:
URL: https://github.com/apache/beam/pull/14938#issuecomment-855030476


   > Ok, didn't see that.
   > 
   > Would it perhaps be better to make it part of WorkerOptions.validate 
rather than add it directly to PipelineOptionsValidator?
   
   WorkerOptions.validate calls methods in PipelineOptionsValidator, so I'm not 
sure what you mean. 
https://github.com/apache/beam/blob/92386d781b5d502c4ea47a0894b72ca57854553d/sdks/python/apache_beam/options/pipeline_options.py#L934
   
   Putting most of the actual logic into PipelineOptionsValidator is preferable 
though (similar to existing code).


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

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


Reply via email to