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



##########
File path: airflow/models/dag.py
##########
@@ -1126,6 +1126,11 @@ def set_dag_runs_state(
         end_date: Optional[datetime] = None,
         dag_ids: List[str] = None,
     ) -> None:
+        warnings.warn(
+            "This method is deprecated and will be removed in a future 
version.",
+            DeprecationWarning,
+            stacklevel=3,

Review comment:
       ```suggestion
               stacklevel=2,
   ```




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to