mohit7705 opened a new pull request, #60257: URL: https://github.com/apache/airflow/pull/60257
This PR makes SQLAlchemy an optional dependency for the Postgres provider, following the same pattern used by other providers (e.g. Presto, Exasol). Summary of changes: - Removed hard SQLAlchemy imports from module level - Imported SQLAlchemy lazily inside methods that require it - Raised AirflowOptionalProviderFeatureException when SQLAlchemy is missing - Kept SQLAlchemy as an optional extra dependency This aligns the Postgres provider with the guidance described in the parent issue. -- 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]
