Skip to content

Commit 4e3fd65

Browse files
committed
Remove type checking guards
1 parent 6f6f0a9 commit 4e3fd65

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

numcodecs/registry.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,10 @@
22
applications to dynamically register and look-up codec classes."""
33

44
import logging
5-
from importlib.metadata import entry_points
6-
from typing import TYPE_CHECKING
5+
from importlib.metadata import EntryPoints, entry_points
76

87
from numcodecs.abc import Codec
98

10-
if TYPE_CHECKING:
11-
from importlib.metadata import EntryPoints
12-
139
logger = logging.getLogger("numcodecs")
1410
codec_registry: dict[str, Codec] = {}
1511
entries: dict[str, "EntryPoints"] = {}

0 commit comments

Comments
 (0)