kaxil commented on code in PR #44065:
URL: https://github.com/apache/airflow/pull/44065#discussion_r1844152620
##########
airflow/api_fastapi/execution_api/datamodels.py:
##########
@@ -97,7 +82,7 @@ def ti_state_discriminator(v: dict[str, str] | BaseModel) ->
str:
state = getattr(v, "state", None)
if state == TIState.RUNNING:
return str(state)
- elif state in State.ran_and_finished_states:
+ elif state in TerminalTIState:
Review Comment:
This isn't right anymore
--
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]