Skip to content

Commit

Permalink
Change import of Callable for typing
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Oct 2, 2024
1 parent c453b68 commit 4a2ad03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/nwbinspector/_configuration.py
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/nwbinspector/_registration.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down

0 comments on commit 4a2ad03

Please sign in to comment.