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 2fc6c9a commit 81b3a07Copy full SHA for 81b3a07
numcodecs/ndarray_like.py
@@ -1,7 +1,7 @@
1
from typing import Any, Dict, Optional, Protocol, Tuple, Type, runtime_checkable
2
3
4
-class _CachedProtocolMeta(type):
+class _CachedProtocolMeta(Protocol.__class__): # type: ignore[name-defined]
5
"""Custom implementation of @runtime_checkable
6
7
The native implementation of @runtime_checkable is slow,
0 commit comments