justinpakzad commented on code in PR #60236:
URL: https://github.com/apache/airflow/pull/60236#discussion_r2670479511


##########
providers/postgres/src/airflow/providers/postgres/hooks/postgres.py:
##########
@@ -166,7 +165,14 @@ def __cast_nullable(value, dst_type: type) -> Any:
         return dst_type(value) if value is not None else None
 
     @property
-    def sqlalchemy_url(self) -> URL:
+    def sqlalchemy_url(self):

Review Comment:
   I think you should still include the return type here: `-> URL`. You can add 
the import under the `if TYPE_CHECKING` condition. 



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