ashb commented on a change in pull request #19931:
URL: https://github.com/apache/airflow/pull/19931#discussion_r768642495



##########
File path: airflow/api/common/experimental/get_dag_run_state.py
##########
@@ -19,9 +19,12 @@
 from datetime import datetime
 from typing import Dict
 
+from deprecated import deprecated
+
 from airflow.api.common.experimental import check_and_get_dag, 
check_and_get_dagrun
 
 
+@deprecated(reason="Use DagRun().get_state() instead", version="2.2.3")

Review comment:
       This is still used in airflow/www/api/experimental/endpoints.py -- if we 
are deprecating it we will need to change those references too.




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