mohit7705 commented on code in PR #60236:
URL: https://github.com/apache/airflow/pull/60236#discussion_r2670998564
##########
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:
Thanks for the suggestion — I’ve restored the -> URL return type and added
the import under TYPE_CHECKING so it doesn’t introduce a runtime dependency.
@potiuk @justinpakzad
--
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]