File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11import logging
22import sys
33from argparse import ArgumentParser
4- from typing import Optional
54from collections .abc import Sequence
5+ from typing import Optional
66
77from jsonschema .exceptions import ValidationError
88from jsonschema .exceptions import best_match
Original file line number Diff line number Diff line change 1- from typing import Generic
21from collections .abc import Iterable
32from collections .abc import Iterator
3+ from typing import Generic
44from typing import List
55from typing import TypeVar
66
Original file line number Diff line number Diff line change 11"""OpenAPI spec validator validation decorators module."""
22
33import logging
4+ from collections .abc import Iterable
5+ from collections .abc import Iterator
46from functools import wraps
57from typing import Any
68from typing import Callable
7- from collections .abc import Iterable
8- from collections .abc import Iterator
99from typing import TypeVar
1010
1111from jsonschema .exceptions import ValidationError
Original file line number Diff line number Diff line change 11import string
2+ from collections .abc import Iterator
3+ from collections .abc import Sequence
24from typing import TYPE_CHECKING
35from typing import Any
4- from collections .abc import Sequence
5- from collections .abc import Iterator
66from typing import List
77from typing import Optional
88from typing import cast
Original file line number Diff line number Diff line change 22
33import warnings
44from collections .abc import Hashable
5- from typing import Any
65from collections .abc import Iterator
76from collections .abc import Mapping
7+ from typing import Any
88from typing import Optional
99from typing import Tuple
1010
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- from typing import DefaultDict
43from collections .abc import Mapping
4+ from typing import DefaultDict
55from typing import Type
66
77from openapi_spec_validator .validation .keywords import KeywordValidator
Original file line number Diff line number Diff line change 22
33import logging
44import warnings
5- from functools import lru_cache
65from collections .abc import Iterator
7- from typing import List
86from collections .abc import Mapping
7+ from functools import lru_cache
8+ from typing import List
99from typing import Optional
1010from typing import Type
1111from typing import cast
You can’t perform that action at this time.
0 commit comments