-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Bucket operations using storage token (#200)
* First pass * Add a storage session class to be used as a context manager when using the storage token with the bucket * Use the storage session in the Hub client to fetch the Parquet file * Zarr FS store does not play nice with PyArrow FS, so revert to less efficient fsspec implementation. Use storage token to get Zarr content, when present. * After PyArrow's filesystem failed to work the way I needed to with Zarr's FSStore, I implemented a S3 store for Zarr, without intermediary library. * Update doc * Some cleanup and bug fixing * Review feedback * Rebase fixups * Further review feeback * Linting and formating * Build errors
- Loading branch information
1 parent
e5370b7
commit 23fd61e
Showing
29 changed files
with
975 additions
and
331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/api/hub.external_auth_client.md → docs/api/hub.external_client.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
::: polaris.hub.storage.StorageSession | ||
options: | ||
merge_init_into_class: true | ||
|
||
--- | ||
|
||
::: polaris.hub.storage.S3Store | ||
options: | ||
merge_init_into_class: true | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.