Skip to content

Commit 007a4bd

Browse files
authored
Change import of Callable for typing (#523)
1 parent 5a0141a commit 007a4bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/nwbinspector/_configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
"""Primary functions for inspecting NWBFiles."""
22

33
import json
4+
from collections.abc import Callable
45
from pathlib import Path
56
from types import FunctionType
67
from typing import Optional, Union
78

89
import jsonschema
910
import yaml
10-
from typing_extensions import Callable
1111

1212
from ._registration import Importance, available_checks
1313

src/nwbinspector/_registration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Primary decorator used on a check function to add it to the registry and automatically parse its output."""
22

3+
from collections.abc import Callable
34
from functools import wraps
45
from typing import List, Optional, Union
56

@@ -8,7 +9,6 @@
89
from pynwb import NWBFile
910
from pynwb.ecephys import Device, ElectrodeGroup
1011
from pynwb.file import Subject
11-
from typing_extensions import Callable
1212

1313
from ._types import Importance, InspectorMessage, Severity
1414

0 commit comments

Comments
 (0)