mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-02 13:08:13 +02:00
39 lines
1.5 KiB
Diff
39 lines
1.5 KiB
Diff
diff --git a/xsdata/formats/dataclass/parsers/dict.py b/xsdata/formats/dataclass/parsers/dict.py
|
|
index 5b167fd..d4c618c 100644
|
|
--- a/xsdata/formats/dataclass/parsers/dict.py
|
|
+++ b/xsdata/formats/dataclass/parsers/dict.py
|
|
@@ -2,7 +2,7 @@ from contextlib import suppress
|
|
from dataclasses import dataclass, field, replace
|
|
from typing import Any, Dict, Iterable, List, Optional, Type, Union
|
|
|
|
-from typing_extensions import get_args, get_origin
|
|
+from typing import get_args, get_origin
|
|
|
|
from xsdata.exceptions import ParserError
|
|
from xsdata.formats.converter import converter
|
|
diff --git a/xsdata/formats/dataclass/serializers/mixins.py b/xsdata/formats/dataclass/serializers/mixins.py
|
|
index da3a0f4..9960f9e 100644
|
|
--- a/xsdata/formats/dataclass/serializers/mixins.py
|
|
+++ b/xsdata/formats/dataclass/serializers/mixins.py
|
|
@@ -18,7 +18,7 @@ from typing import (
|
|
from xml.etree.ElementTree import QName
|
|
from xml.sax.handler import ContentHandler
|
|
|
|
-from typing_extensions import TypeAlias
|
|
+from typing import TypeAlias
|
|
|
|
from xsdata.exceptions import SerializerError, XmlWriterError
|
|
from xsdata.formats.converter import converter
|
|
diff --git a/xsdata/formats/dataclass/typing.py b/xsdata/formats/dataclass/typing.py
|
|
index 95d3548..ac1b25b 100644
|
|
--- a/xsdata/formats/dataclass/typing.py
|
|
+++ b/xsdata/formats/dataclass/typing.py
|
|
@@ -10,7 +10,7 @@ from typing import (
|
|
Union,
|
|
)
|
|
|
|
-from typing_extensions import get_args, get_origin
|
|
+from typing import get_args, get_origin
|
|
|
|
try:
|
|
from types import UnionType # type: ignore
|