You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "kennknowles (via GitHub)" <gi...@apache.org> on 2023/08/15 18:25:54 UTC

[GitHub] [beam] kennknowles commented on a diff in pull request #27959: Updates validation on --dataflow_endpoint to accept any legal url.

kennknowles commented on code in PR #27959:
URL: https://github.com/apache/beam/pull/27959#discussion_r1294921227


##########
sdks/python/apache_beam/options/pipeline_options.py:
##########
@@ -864,10 +864,6 @@ def validate(self, validator):
         else:
           setattr(self, 'temp_location', default_bucket)
 
-      if getattr(self, 'staging_location',
-                 None) or getattr(self, 'temp_location', None) is None:
-        errors.extend(validator.validate_gcs_path(self, 'staging_location'))

Review Comment:
   For dataflow, staging location has to be GCS. Does this remove the validation? Other runners may have other validation. Should live in the runner.



-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org