__init__ method from the base class not called PYL-W0231 26
27 _store: T_Store
28
29 def __init__(self, store: T_Store) -> None: 30 self._store = store
31
32 def _with_store(self, store: T_Store) -> Self:458 _name: str
459 path: str
460
461 def __init__(self, name: str | None = None, *, path: str = "", read_only: bool = False) -> None:462 # Skip MemoryStore.__init__ and call Store.__init__ directly
463 # because we manage _store_dict via the registry, not via a user-supplied
464 # MutableMapping. If MemoryStore.__init__ ever adds logic beyond setting143 ndarray-like object that is convertible to a regular Numpy array.
144 """
145
146 def __init__(self, array: NDArrayLike) -> None:147 if cp is None:
148 raise ImportError(
149 "Cannot use zarr.buffer.gpu.NDBuffer without cupy. Please install cupy." 52 array-like object that must be 1-dim, contiguous, and byte dtype.
53 """
54
55 def __init__(self, array_like: ArrayLike) -> None: 56 if cp is None:
57 raise ImportError(
58 "Cannot use zarr.buffer.gpu.Buffer without cupy. Please install cupy."The ancestor class method has an init method which is not called by the derived class. This can cause unintended consequences.