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



##########
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:
       ```suggestion
                   args.func(args)
   ```
   
   Also should we remove `self.dag` from constructor? It seems to be added in 
the same change #7090




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