Skip to content

[v3] Groups and Arrays do not implement __enter__ / __exit__ protocols #2619

Open
@jhamman

Description

@jhamman

In Zarr-Python 2, Groups and Arrays implemented __enter__ and __exit__ so that they could be used in a context manager and the underlying store would be automatically closed. We have not implemented this in Zarr-Python 3 yet though I can't think of a specific reason as to why we couldn't.

This issue tracks the development of this feature in Zarr-Python 3.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions