uranusjr commented on code in PR #46032:
URL: https://github.com/apache/airflow/pull/46032#discussion_r1944082245


##########
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 = -1

Review Comment:
   ```suggestion
       map_index: int = -1
   ```
   
   We can revert this annotation as well?



-- 
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]

Reply via email to