dimberman commented on code in PR #46032:
URL: https://github.com/apache/airflow/pull/46032#discussion_r1939647479
##########
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:
Maybe the idea here is to have None instead of using -1 as a default?
--
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]