apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.26k stars 14.33k forks source link

AIP-84 Invalid states raises 422 status on get dag_runs and task_instances endpoints #44237

Closed rawwar closed 1 day ago

rawwar commented 1 day ago

closes #44235

rawwar commented 1 day ago

We should probably directly use the state Enum at some point. (That's on my todo list for any enum params/ payload attr.)

I tried that. But, since "none" isn't part of the States, that caused issue for me. Or maybe I did something wrong. Looking forward to see how its implemented