ephraimbuddy commented on a change in pull request #19931:
URL: https://github.com/apache/airflow/pull/19931#discussion_r768704551
##########
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:
The experimental API is also deprecated: See
https://github.com/apache/airflow/blob/b20e6d3f060bc385e350433070d5707ae6d6d0b0/airflow/www/api/experimental/endpoints.py#L56-L60.
My thinking is that if someone is using it externally which may be possible,
then we should warn
--
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]