From 91d3c91d4beb6a5c0370c590036bf10d2eacfcbf Mon Sep 17 00:00:00 2001 From: Jay Qi Date: Wed, 6 Mar 2024 00:05:40 -0500 Subject: [PATCH] Import from typing for Python 3.8 --- sortedcontainers_pydantic.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/sortedcontainers_pydantic.py b/sortedcontainers_pydantic.py index c3f1a8f..974c315 100644 --- a/sortedcontainers_pydantic.py +++ b/sortedcontainers_pydantic.py @@ -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,