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 2021/02/05 13:25:43 UTC

[GitHub] [airflow] FHoffmannCode commented on a change in pull request #14092: fix running local task with --pickle

FHoffmannCode commented on a change in pull request #14092:
URL: https://github.com/apache/airflow/pull/14092#discussion_r570964562



##########
File path: airflow/task/task_runner/standard_task_runner.py
##########
@@ -82,9 +82,10 @@ def _start_by_fork(self):  # pylint: disable=inconsistent-return-statements
             setproctitle(proc_title.format(args))
 
             try:
-                args.func(args, dag=self.dag)
+                args.func(args, dag=None)

Review comment:
       yes




----------------------------------------------------------------
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:
users@infra.apache.org