uranusjr commented on code in PR #58652:
URL: https://github.com/apache/airflow/pull/58652#discussion_r2558078103
##########
airflow-core/src/airflow/models/taskmap.py:
##########
@@ -161,7 +161,7 @@ def expand_mapped_task(
)
total_length = None
- state: TaskInstanceState | None = None
+ state: TaskInstanceState | str | None = None
Review Comment:
This is only assigned once on line 217, always str | None, so the
TaskInstanceState case is not needed.
```suggestion
state: str | None = None
```
--
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]