You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "uranusjr (via GitHub)" <gi...@apache.org> on 2025/02/03 06:09:04 UTC
Re: [PR] [WIP] Add dynamic task mapping into TaskSDK runtime [airflow]
uranusjr commented on code in PR #46032:
URL: https://github.com/apache/airflow/pull/46032#discussion_r1938825878
##########
airflow/api_fastapi/execution_api/datamodels/taskinstance.py:
##########
@@ -203,7 +203,7 @@ class TaskInstance(StrictBaseModel):
dag_id: str
run_id: str
try_number: int
- map_index: int = -1
+ map_index: int | None = None
Review Comment:
When can this be None? A TI should always have a map_index.
--
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