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/08 06:03:24 UTC
[GitHub] [airflow] pysalt commented on a change in pull request #13929: Parse session from positional/kwargs argument
pysalt commented on a change in pull request #13929:
URL: https://github.com/apache/airflow/pull/13929#discussion_r571798469
##########
File path: airflow/sentry.py
##########
@@ -149,14 +149,21 @@ def add_breadcrumbs(self, task_instance, session=None):
def enrich_errors(self, func):
"""Wrap TaskInstance._run_raw_task to support task specific tags and breadcrumbs."""
+ session_args_idx = find_session_idx(func)
Review comment:
Is maybe need to change method annotation?
in airflow 2.0.0 this decorator wraps _run_mini_scheduler_on_child_tasks too. which is why the error actually occurred
----------------------------------------------------------------
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