mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 19:28:50 +08:00
jsonschema: mark type alias explicitly (#8024)
This commit is contained in:
1 parent
43a9ab08d7
commit
7322acbb97
1 file changed
+2
-1
@@ -2,10 +2,11 @@ from _typeshed import Self, SupportsRichComparison
|
||||
from collections import deque
|
||||
from collections.abc import Callable, Container, Iterable, Sequence
|
||||
from typing import Any
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
from jsonschema import _utils, protocols
|
||||
|
||||
_RelevanceFuncType = Callable[[ValidationError], SupportsRichComparison]
|
||||
_RelevanceFuncType: TypeAlias = Callable[[ValidationError], SupportsRichComparison]
|
||||
|
||||
WEAK_MATCHES: frozenset[str]
|
||||
STRONG_MATCHES: frozenset[str]
|
||||
|
||||
Reference in new issue
Block a user