jerryshao commented on code in PR #14746:
URL: https://github.com/apache/gravitino/pull/14746#discussion_r4558831554
##########
clients/client-python/gravitino/client/relational_catalog.py:
##########
@@ -105,9 +111,23 @@ def __init__(
rest_client, catalog_namespace, name
)
- def support_secrets(self) -> SupportsSecrets:
+ def supports_credentials(self) -> SupportsCredentials:
return self
+ def support_credentials(self) -> SupportsCredentials:
+ """Deprecated alias for supports_credentials."""
+ return self.supports_credentials()
+
+ def get_credentials(self) -> list[Credential]:
Review Comment:
Use typing.List[Credential] to match the fileset catalog and older Python
versions instead of list[Credential]. Also consider a small test that
get_credentials delegates to the credential operations.
--
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]