Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix imports indirectly from pydantic typing #4358

Merged
merged 8 commits into from Aug 11, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion pydantic/fields.py
Expand Up @@ -8,6 +8,7 @@
DefaultDict,
Deque,
Dict,
ForwardRef,
FrozenSet,
Generator,
Iterable,
Expand All @@ -33,7 +34,6 @@
from .types import Json, JsonWrapper
from .typing import (
Callable,
aminalaee marked this conversation as resolved.
Show resolved Hide resolved
ForwardRef,
NoArgAnyCallable,
convert_generics,
display_as_type,
Expand Down
2 changes: 1 addition & 1 deletion pydantic/schema.py
Expand Up @@ -11,6 +11,7 @@
Any,
Callable,
Dict,
ForwardRef,
FrozenSet,
Generic,
Iterable,
Expand Down Expand Up @@ -66,7 +67,6 @@
constr,
)
from .typing import (
ForwardRef,
all_literal_values,
get_args,
get_origin,
Expand Down
2 changes: 1 addition & 1 deletion pydantic/validators.py
Expand Up @@ -12,6 +12,7 @@
Callable,
Deque,
Dict,
ForwardRef,
FrozenSet,
Generator,
Hashable,
Expand All @@ -30,7 +31,6 @@
from .datetime_parse import parse_date, parse_datetime, parse_duration, parse_time
from .typing import (
AnyCallable,
ForwardRef,
all_literal_values,
display_as_type,
get_class,
Expand Down