chamikaramj commented on a change in pull request #11185: [BEAM-8019] Updates Python SDK to handle remote SDK coders and preserve tags added by remote SDKs and propagate restriction coders. URL: https://github.com/apache/beam/pull/11185#discussion_r403390955
########## File path: sdks/python/apache_beam/runners/dataflow/dataflow_runner.py ########## @@ -269,11 +277,9 @@ def visit_transform(self, transform_node): pcoll.element_type, transform_node.full_label) key_type, value_type = pcoll.element_type.tuple_types if transform_node.outputs: - from apache_beam.runners.portability.fn_api_runner.translations \ - import only_element key = ( - None if None in transform_node.outputs.keys() else only_element( - transform_node.outputs.keys())) + None if None in transform_node.outputs.keys() else + DataflowRunner._only_element(transform_node.outputs.keys())) Review comment: Done. I assume this is because there can be only one output here. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services