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


##########
sdks/python/apache_beam/yaml/yaml_transform_unit_test.py:
##########
@@ -38,8 +38,14 @@
 from apache_beam.yaml.yaml_transform import preprocess_flattened_inputs
 from apache_beam.yaml.yaml_transform import preprocess_windowing
 from apache_beam.yaml.yaml_transform import push_windowing_to_roots
+from apache_beam.yaml.yaml_transform import validate_against_schema
 from apache_beam.yaml.yaml_utils import SafeLineLoader
 
+try:
+  import jsonschema
+except ImportError:
+  jsonschema = None

Review Comment:
   multiple yaml files use the same format
   
https://github.com/apache/beam/blob/5f2403c747b35a2892b63380ac707ea608ceefbe/sdks/python/apache_beam/yaml/yaml_provider.py#L501
   
   
https://github.com/apache/beam/blob/5f2403c747b35a2892b63380ac707ea608ceefbe/sdks/python/apache_beam/yaml/json_utils.py#L28



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