mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-12 02:25:43 +00:00
fix(airflow): fix lint related to dag_run field (#11616)
This commit is contained in:
parent
0d06a61365
commit
be1b8806a7
@ -383,13 +383,11 @@ class DataHubListener:
|
||||
return
|
||||
|
||||
logger.debug(
|
||||
f"DataHub listener got notification about task instance start for {task_instance.task_id} of dag {task_instance.dag_run.dag_id}"
|
||||
f"DataHub listener got notification about task instance start for {task_instance.task_id} of dag {task_instance.dag_id}"
|
||||
)
|
||||
|
||||
if not self.config.dag_filter_pattern.allowed(task_instance.dag_run.dag_id):
|
||||
logger.debug(
|
||||
f"DAG {task_instance.dag_run.dag_id} is not allowed by the pattern"
|
||||
)
|
||||
if not self.config.dag_filter_pattern.allowed(task_instance.dag_id):
|
||||
logger.debug(f"DAG {task_instance.dag_id} is not allowed by the pattern")
|
||||
return
|
||||
|
||||
if self.config.render_templates:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user