You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/22 10:45:10 UTC

[GitHub] [airflow] ashb commented on a change in pull request #21710: Add map_index to XCom's primary key and interface

ashb commented on a change in pull request #21710:
URL: https://github.com/apache/airflow/pull/21710#discussion_r811810618



##########
File path: airflow/models/xcom.py
##########
@@ -108,6 +111,7 @@ def set(
         dag_id: str,
         task_id: str,
         run_id: str,
+        map_index: int = -1,

Review comment:
       I wonder if instead of all these columns we should take a `Union[TaskInstance, TaskInstanceKey]`?




-- 
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-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org