You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "robertwb (via GitHub)" <gi...@apache.org> on 2024/08/01 01:59:06 UTC

Re: [PR] [yaml] Add tests for provider schema validation [beam]

robertwb commented on code in PR #31975:
URL: https://github.com/apache/beam/pull/31975#discussion_r1699290579


##########
sdks/python/apache_beam/yaml/pipeline.schema.yaml:
##########
@@ -85,7 +85,10 @@ $defs:
         items:
           properties:
             # Must be implicit.
-            input: { not: {} }
+            input:
+              oneOf:
+                - { "not": {} }
+                - { "enum": [ "__explicitly_empty__" ] }

Review Comment:
   It feels like we shouldn't be validating once we've injected the `__explicitly_empty__` strings. 



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