jscheffl commented on code in PR #59940:
URL: https://github.com/apache/airflow/pull/59940#discussion_r2655797433


##########
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:
   Whitespace is not correct here. Can you please fix the indent?



-- 
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]

Reply via email to