Skip to content

Commit

Permalink
Use OrderedDict from typing_extensions (#6664)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmontagu committed Jul 13, 2023
1 parent e75ffbd commit e27243d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydantic/_internal/_std_types_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from ipaddress import IPv4Address, IPv4Interface, IPv4Network, IPv6Address, IPv6Interface, IPv6Network
from typing import Any, Callable, Iterable, TypeVar

import typing_extensions
from pydantic_core import (
CoreSchema,
MultiHostUrl,
Expand Down Expand Up @@ -611,7 +612,7 @@ def sequence_like_prepare_pydantic_annotations(
typing.DefaultDict: collections.defaultdict,
collections.defaultdict: collections.defaultdict,
collections.OrderedDict: collections.OrderedDict,
typing.OrderedDict: collections.OrderedDict,
typing_extensions.OrderedDict: collections.OrderedDict,
dict: dict,
typing.Dict: dict,
collections.Counter: collections.Counter,
Expand Down

0 comments on commit e27243d

Please sign in to comment.