chamikaramj commented on code in PR #24783:
URL: https://github.com/apache/beam/pull/24783#discussion_r1093557618


##########
sdks/python/apache_beam/transforms/external.py:
##########
@@ -367,6 +367,32 @@ def discover(expansion_service):
             inputs=proto_config.input_pcollection_names,
             outputs=proto_config.output_pcollection_names)
 
+  @staticmethod
+  def discover_one(expansion_service, name):
+    """Discover one SchemaTransform by name in the given expansion service.
+
+    :return: one SchemaTransformConfig that represents the discovered

Review Comment:
   Also, mention what the function would do if the transform is not found.



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

Reply via email to