dstandish commented on a change in pull request #19857:
URL: https://github.com/apache/airflow/pull/19857#discussion_r810320940
##########
File path: airflow/secrets/base_secrets.py
##########
@@ -40,10 +47,46 @@ def build_path(path_prefix: str, secret_id: str, sep: str =
"/") -> str:
"""
return f"{path_prefix}{sep}{secret_id}"
+ def get_conn_value(self, conn_id: str) -> Optional[str]:
+ """
+ Retrieve from Secrets Backend a string value representing the
Connection object.
+
+ If the client your secrets backend uses already returns a python dict,
you should override
+ ``get_connection`` instead.
+
+ :param conn_id: connection id
+ """
+ raise NotImplementedError
+
+ def _deserialize_connection(self, conn_id, value):
Review comment:
sure.
--
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]