shubham-j-sde commented on code in PR #34708:
URL: https://github.com/apache/beam/pull/34708#discussion_r2054961438


##########
sdks/python/apache_beam/yaml/yaml_transform.py:
##########
@@ -85,6 +85,12 @@ def validate_against_schema(pipeline, strictness):
     jsonschema.validate(pipeline, pipeline_schema(strictness))
   except jsonschema.ValidationError as exn:
     exn.message += f" around line {_closest_line(pipeline, exn.path)}"
+    # validation message for chain-type transform
+    if (exn.schema_path[-1] == 'not' and

Review Comment:
   the schema had output, so i included
   
https://github.com/apache/beam/blob/c8e5118d6d17d6df4a629a2b0f834df74b06d7e1/sdks/python/apache_beam/yaml/pipeline.schema.yaml#L92



-- 
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-unsubscr...@beam.apache.org

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

Reply via email to