Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates the xee dataflow example to prevent users from accidentally deleting storage bucket when running the example. This is a really simple fix for a bug in a recent [push to gcsfs](fsspec/gcsfs#608) paired with some [logic in the zarr library for writing datasets](https://github.com/zarr-developers/zarr-python/blob/df4c25f70c8a1e2b43214d7f26e80d34df502e7e/src/zarr/v2/storage.py#L567) which allows users to accidentally remove their bucket if writing to the root of a cloud storage bucket. This is problematic because users may have other data in a cloud storage bucket they may try to write to and accidental deletion of the bucket removes everything. Changes in this PR include: 1. pinning the `gcsfs` version to `<=2024.2.0` before the PR that introduced the bug 2. point to write to subdirectory on the bucket in the example PiperOrigin-RevId: 655683820
- Loading branch information