uranusjr commented on code in PR #33858:
URL: https://github.com/apache/airflow/pull/33858#discussion_r1316951957
##########
airflow/api/common/experimental/get_lineage.py:
##########
@@ -49,4 +49,4 @@ def get_lineage(
for meta in outlets:
lineage[meta.task_id]["outlets"] = meta.value
- return {"task_ids": {k: v for k, v in lineage.items()}}
+ return {"task_ids": lineage.copy()}
Review Comment:
Don’t think that’d be problematic though?
##########
airflow/api/common/experimental/get_lineage.py:
##########
@@ -49,4 +49,4 @@ def get_lineage(
for meta in outlets:
lineage[meta.task_id]["outlets"] = meta.value
- return {"task_ids": {k: v for k, v in lineage.items()}}
+ return {"task_ids": lineage.copy()}
Review Comment:
Don’t think that’d be problematic though?
--
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]