'RuntimeTaskInstance' object has no attribute 'get_dagrun' #46411
Labels
affected_version:3.0.0alpha
For all 3.0.0 alpha releases
area:core
area:core-operators
Operators, Sensors and hooks within Core Airflow
kind:bug
This is a clearly a bug
Apache Airflow version
Tag: 3.0.0a1
If "Other Airflow 2 version" selected, which one?
No response
What happened?
The DAG has failed on the BranchSQLOperator stating TI object does not have attribute get_dagrun
Stack trace:
dag_id=sql_check_operator_run_id=manual__2025-02-04T05_54_46.258183+00_00_task_id=branch_sql_attempt=1.log
What you think should happen instead?
The BranchSQLOperator should work and excute the query
How to reproduce
The following DAG can be used to reproduce.
This dag requires a postgres connection to be configured before you run it
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
No response
Anything else?
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: