Skip to content

Commit 6b12cf8

Browse files
committed
Wrongly moved import.
1 parent ee03ec4 commit 6b12cf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema/protocols.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
from __future__ import annotations
99

10-
from typing import TYPE_CHECKING, ClassVar, Protocol, runtime_checkable
10+
from typing import TYPE_CHECKING, Any, ClassVar, Protocol, runtime_checkable
1111

1212
# in order for Sphinx to resolve references accurately from type annotations,
1313
# it needs to see names like `jsonschema.TypeChecker`
1414
# therefore, only import at type-checking time (to avoid circular references),
1515
# but use `jsonschema` for any types which will otherwise not be resolvable
1616
if TYPE_CHECKING:
17-
from collections.abc import Any, Iterable, Mapping
17+
from collections.abc import Iterable, Mapping
1818

1919
import referencing.jsonschema
2020

0 commit comments

Comments
 (0)