andrewgodwin commented on a change in pull request #15389:
URL: https://github.com/apache/airflow/pull/15389#discussion_r638962002
##########
File path: airflow/api_connexion/endpoints/task_instance_endpoint.py
##########
@@ -248,7 +248,7 @@ def post_clear_task_instances(dag_id: str, session=None):
error_message = f"Dag id {dag_id} not found"
raise NotFound(error_message)
reset_dag_runs = data.pop('reset_dag_runs')
- task_instances = dag.clear(get_tis=True, **data)
+ task_instances = dag.clear(get_ti_instances=True, **data)
Review comment:
I'm going to rename the `instances` one back to `get_tis` since the
tests have already run with the rename and not found any dangling references,
and it should behave the same in 99% of cases - we can keep backwards compat
here without too much issue.
--
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]