diff --git a/src/nwbinspector/_configuration.py b/src/nwbinspector/_configuration.py index efa62f82b..7352d2c41 100644 --- a/src/nwbinspector/_configuration.py +++ b/src/nwbinspector/_configuration.py @@ -1,13 +1,13 @@ """Primary functions for inspecting NWBFiles.""" import json +from collections.abc import Callable from pathlib import Path from types import FunctionType from typing import Optional, Union import jsonschema import yaml -from typing_extensions import Callable from ._registration import Importance, available_checks diff --git a/src/nwbinspector/_registration.py b/src/nwbinspector/_registration.py index f43e5caf6..418069f62 100644 --- a/src/nwbinspector/_registration.py +++ b/src/nwbinspector/_registration.py @@ -1,5 +1,6 @@ """Primary decorator used on a check function to add it to the registry and automatically parse its output.""" +from collections.abc import Callable from functools import wraps from typing import List, Optional, Union @@ -8,7 +9,6 @@ from pynwb import NWBFile from pynwb.ecephys import Device, ElectrodeGroup from pynwb.file import Subject -from typing_extensions import Callable from ._types import Importance, InspectorMessage, Severity