Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ repos:
pass_filenames: false
files: ^docs/
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.19.1"
rev: "v1.20.0"
hooks:
- id: mypy
name: mypy-python
Expand Down
6 changes: 3 additions & 3 deletions cosmos/airflow/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@ def _add_dbt_setup_async_task(
else [task_or_taskgroup]
)
for task in node_tasks:
task.producer_task_id = setup_airflow_task.task_id # type: ignore[attr-defined]
task.producer_task_id = setup_airflow_task.task_id # type: ignore[union-attr]
if not task.upstream_list:
setup_airflow_task >> task

Expand Down Expand Up @@ -742,7 +742,7 @@ def _add_watcher_dependencies(
else [task_or_taskgroup]
)
for task in node_tasks:
task.producer_task_id = producer_airflow_task.task_id # type: ignore[attr-defined]
task.producer_task_id = producer_airflow_task.task_id # type: ignore[union-attr]

# Make the producer task to be the parent of the root dbt nodes, without blocking them from sensing XCom
# We only managed to do this in the case of DbtDag.
Expand All @@ -761,7 +761,7 @@ def _add_watcher_dependencies(
else:
always_run_tasks = [task_or_taskgroup]
for task in always_run_tasks:
task.trigger_rule = task_args.get("trigger_rule", "always") # type: ignore[attr-defined]
task.trigger_rule = task_args.get("trigger_rule", "always") # type: ignore[union-attr]


def should_create_detached_nodes(render_config: RenderConfig) -> bool:
Expand Down
Loading