twang126 commented on code in PR #25935:
URL: https://github.com/apache/beam/pull/25935#discussion_r1145282165
##########
sdks/python/apache_beam/yaml/yaml_transform.py:
##########
@@ -377,6 +378,18 @@ def pipeline_as_composite(spec):
return dict(spec, name=None, type='composite')
+def normalize_source_sink(spec):
Review Comment:
Just to be clear, this YAML resembles what makes sense to me
```
sources:
- source1
- source2
transforms:
- t1
- t2
- t3
sinks:
- s1
```
.. but this may get too magical too fast (the sources would be flattened).
When you say a user could add a source to the transform list, what resulting
yaml structure did you have in mind?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]