You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/01/18 15:18:42 UTC
[GitHub] Fokko commented on a change in pull request #4396: [AIRFLOW-3585] -
Add edges to database
Fokko commented on a change in pull request #4396: [AIRFLOW-3585] - Add edges to database
URL: https://github.com/apache/airflow/pull/4396#discussion_r249076129
##########
File path: airflow/models/__init__.py
##########
@@ -703,6 +644,57 @@ def __init__(self, task, execution_date, state=None):
# Not persisted to the database so only valid for the current process
self.raw = False
+ @staticmethod
+ @provide_session
+ def clear_task_instances(tis,
+ session=None,
+ activate_dag_runs=True,
+ dag=None,
Review comment:
Remove trailing comma please
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services