-
-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Using the operators returns an error in Airflow 3.1.0:
AttributeError: 'DbtBuildOperator' object has no attribute 'xcom_push'
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/sdk/execution_time/task_runner.py", line 920 in run
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/sdk/execution_time/task_runner.py", line 1302 in _execute_task
File "/home/airflow/.local/lib/python3.10/site-packages/airflow/sdk/bases/operator.py", line 416 in wrapper
File "/home/airflow/.local/lib/python3.10/site-packages/airflow_dbt_python/operators/dbt.py", line 304 in execute
File "/home/airflow/.local/lib/python3.10/site-packages/airflow_dbt_python/operators/dbt.py", line 347 in xcom_push_dbt_resultsthis comment looks possibly relevant but i'm not sure.
i also found this issue
we don't use the xcoms, so still easy enough to use with passing do_xcom_push=False.
Airflow
- Version: 3.1.0
- Provider: locally via Docker Compose
Dbt
- Version: dbt-core 1.10.3, dbt-snowflake 1.10.2
tomasfarias and karlkaebnick
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working