Setting a variable in Dag is failing due to 'Direct database access via the ORM is not allowed in Airflow 3.0' #47920
Labels
affected_version:3.0.0beta
For all 3.0.0 beta releases
area:core
kind:bug
This is a clearly a bug
priority:medium
Bug that should be fixed before next release but would not block a release
Apache Airflow version
3.0.0
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Setting a variable in Dag is failing due to 'Direct database access via the ORM is not allowed in Airflow 3.0'
What you think should happen instead?
No response
How to reproduce
Have the below dag in dags folder, you will get import error.
Operating System
Linux
Versions of Apache Airflow Providers
No response
Deployment
Other
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: