Anton-Tarazi opened a new pull request, #2088:
URL: https://github.com/apache/iceberg-python/pull/2088
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
Adds a new function `pyiceberg.catalog.list_catalogs() -> List[str]` to list
all known catalogs.
# Rationale for this change
In creating a pyiceberg-backed API, one must either duplicate the
config-parsing logic or access private data in order to know what catalogs are
available in the env. I believe that this logic should be part of the library.
# Are these changes tested?
Yes
# Are there any user-facing changes?
Yes, knew public function in `pyiceberg.catalog`
<!-- In the case of user-facing changes, please add the changelog label. -->
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]