Lee-W commented on code in PR #44639: URL: https://github.com/apache/airflow/pull/44639#discussion_r1876229094
########## airflow/utils/operator_helpers.py: ########## @@ -276,10 +277,14 @@ def _run(): for metadata in _run(): if isinstance(metadata, Metadata): - outlet_events[metadata.uri].extra.update(metadata.extra) + # TODO: handle asset name + outlet_events[Asset(uri=metadata.uri)].extra.update(metadata.extra) if metadata.alias_name: - outlet_events[metadata.alias_name].add(metadata.uri, extra=metadata.extra) + # TODO: handle asset name + outlet_events[AssetAlias(name=metadata.alias_name)].add( + Asset(uri=metadata.uri), extra=metadata.extra + ) Review Comment: remove string access and create a deprecation PR https://github.com/apache/airflow/pull/44791 -- 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: commits-unsubscr...@airflow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org