Skip to content

add method for deep member retrieval #131

@d-v-b

Description

@d-v-b

Zarr python uses group[a/b/c] to get the node at <group>/a/b/c. In pydantic-zarr, you have to do group.members['a'].members['b'].members['c'], which is a lot more verbose (but also more type-safe, if the type of members is declared in advance). We could support these queries with a method on groups that takes /-delimited strings and does nested member access. Not sure yet what it could be called. get_subnode seems fine.

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