GitHub user potiuk added a comment to the discussion: session.query is no longer supported in airflow 3.0.2
Correct. Direct database access possibility has been strongly discouraged from the beginning of Airflow 2, it has been mentioned as not part of [Public Interface](https://airflow.apache.org/docs/apache-airflow/stable/public-airflow-interface.html) and [removed](https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html#restricted-metadata-database-access) in Airflow 3 . You should use `task-sdk` API or REST API to interact with Airflow data model GitHub link: https://github.com/apache/airflow/discussions/52355#discussioncomment-13599563 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
