zarr-python
zarr-python copied to clipboard
deprecate / remove enums
We use enums in a few places in the codebase, and I think in every instance a simple string literal is a better solution. We should remove or deprecate the use of Enum from the following modules:
- bytes.py: https://github.com/zarr-developers/zarr-python/blob/bce30dd3cc92a35038b88f80c4c42130670d4100/src/zarr/codecs/bytes.py#L21-L27
- indexing.py: https://github.com/zarr-developers/zarr-python/blob/bce30dd3cc92a35038b88f80c4c42130670d4100/src/zarr/core/indexing.py#L697C7-L720
- sharding.py: https://github.com/zarr-developers/zarr-python/blob/bce30dd3cc92a35038b88f80c4c42130670d4100/src/zarr/codecs/sharding.py#L68-L74
- blosc.py: https://github.com/zarr-developers/zarr-python/blob/bce30dd3cc92a35038b88f80c4c42130670d4100/src/zarr/codecs/blosc.py#L25-L56