We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1adb0 commit 083df8eCopy full SHA for 083df8e
src/zarr/abc/codec.py
@@ -34,7 +34,7 @@
34
CodecOutput = TypeVar("CodecOutput", bound=NDBuffer | Buffer)
35
36
37
-class _Codec(Generic[CodecInput, CodecOutput], Metadata):
+class _Codec(Metadata, Generic[CodecInput, CodecOutput]):
38
"""Generic base class for codecs.
39
Please use ArrayArrayCodec, ArrayBytesCodec or BytesBytesCodec for subclassing.
40
src/zarr/registry.py
@@ -28,7 +28,7 @@
28
T = TypeVar("T")
29
30
31
-class Registry(Generic[T], dict[str, type[T]]):
+class Registry(dict[str, type[T]], Generic[T]):
32
def __init__(self) -> None:
33
super().__init__()
self.lazy_load_list: list[EntryPoint] = []
0 commit comments