mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
jsonschema: mark type alias explicitly (#8024)
This commit is contained in:
@@ -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