Skip to content

Commit

Permalink
Import from typing for Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
jayqi committed Mar 6, 2024
1 parent 9f8a01d commit 91d3c91
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions sortedcontainers_pydantic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
from collections.abc import Hashable, Mapping
from typing import TYPE_CHECKING, Any, Generic, Iterable, Set, Tuple, TypeVar, get_args
from typing import (
TYPE_CHECKING,
Any,
Generic,
Hashable,
Iterable,
Mapping,
Set,
Tuple,
TypeVar,
get_args,
)

from pydantic import (
GetCoreSchemaHandler,
Expand Down

0 comments on commit 91d3c91

Please sign in to comment.