vatsrahul1001 commented on issue #47447:
URL: https://github.com/apache/airflow/issues/47447#issuecomment-2717266509
I did a retest of this and noticed in beta2 we are blocked as we are trying
to access db
`/opt/airflow/providers/standard/src/airflow/providers/standard/sensors/external_task.py","lineno":73,`
`[2025-03-12, 09:11:50] ERROR - Top level error source="task"
error_detail=[{"exc_type":"RuntimeError","exc_value":"Direct database access
via the ORM is not allowed in Airflow
3.0","syntax_error":null,"is_cause":false,"frames":[{"filename":"/opt/airflow/task-sdk/src/airflow/sdk/execution_time/task_runner.py","lineno":822,"name":"main"},{"filename":"/opt/airflow/task-sdk/src/airflow/sdk/execution_time/task_runner.py","lineno":791,"name":"finalize"},{"filename":"/opt/airflow/providers/standard/src/airflow/providers/standard/sensors/external_task.py","lineno":73,"name":"get_link"},{"filename":"/opt/airflow/airflow/utils/session.py","lineno":100,"name":"wrapper"},{"filename":"/usr/local/lib/python3.9/contextlib.py","lineno":119,"name":"__enter__"},{"filename":"/opt/airflow/airflow/utils/session.py","lineno":40,"name":"create_session"},{"filename":"/opt/airflow/task-sdk/src/airflow/sdk/execution_time/supervisor.py","lineno":207,"name":"__init__"}]}]`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]