Skip to content

webknossos.utils

LazyPath

LazyPath(*paths: UPath)

paths instance-attribute

paths: tuple[UPath, ...] = tuple(paths)

resolution class-attribute instance-attribute

resolution: int | None = None

resolve

resolve() -> UPath

resolved classmethod

resolved(path: UPath) -> LazyPath

LazyReadOnlyDict

LazyReadOnlyDict(
    entries: dict[K, C], func: Callable[[C], V]
)

Bases: Mapping[K, V]

entries instance-attribute

entries = entries

func instance-attribute

func = func

NDArrayLike

Bases: Protocol

dtype property

dtype: dtype

ndim property

ndim: int

shape property

shape: tuple[int, ...]