amoghrajesh commented on code in PR #47048:
URL: https://github.com/apache/airflow/pull/47048#discussion_r1971003931


##########
task_sdk/src/airflow/sdk/definitions/connection.py:
##########
@@ -57,6 +58,18 @@ def get_uri(self): ...
 
     def get_hook(self): ...
 
+    @classmethod
+    def get(cls, conn_id: str, default_conn: Any = None) -> Any:

Review Comment:
   We decided to continue with Connection.get instead as Connection is a new 
interface & we can use this opportunity to make things simpler. Connection.get 
is simpler than Connection.get_connection_from_secrets



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