mohit7705 commented on code in PR #59940:
URL: https://github.com/apache/airflow/pull/59940#discussion_r2655818972
##########
providers/postgres/src/airflow/providers/postgres/hooks/postgres.py:
##########
@@ -389,8 +400,14 @@ def get_uri(self) -> str:
:return: the extracted URI in Sqlalchemy URI format.
"""
+ if URL is None:
+ raise AirflowOptionalProviderFeatureException(
+ "The 'sqlalchemy' library is required to render the connection URI."
+ )
Review Comment:
Fixed the indentation — thanks for catching that 👍
--
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]