zhoufek commented on a change in pull request #14938:
URL: https://github.com/apache/beam/pull/14938#discussion_r646972813
##########
File path: sdks/python/apache_beam/options/pipeline_options_validator.py
##########
@@ -250,6 +252,20 @@ def validate_sdk_container_image_options(self, view):
return errors
+ def validate_worker_num(self, view):
+ """Validates that Dataflow worker number is valid."""
+ errors = self.validate_optional_argument_positive(view, 'num_workers')
Review comment:
Done.
--
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]