From 90639b6426d704b0afb46ca5ec43543075b002e2 Mon Sep 17 00:00:00 2001 From: Vitor Hideyoshi Date: Sun, 23 Nov 2025 20:05:28 -0300 Subject: [PATCH] chore: subs typing import to typing_extensions --- jambo/parser/string_type_parser.py | 3 +-- tests/parser/test_ref_type_parser.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/jambo/parser/string_type_parser.py b/jambo/parser/string_type_parser.py index 1d81268..4c18761 100644 --- a/jambo/parser/string_type_parser.py +++ b/jambo/parser/string_type_parser.py @@ -3,11 +3,10 @@ from jambo.parser._type_parser import GenericTypeParser from jambo.types.type_parser_options import TypeParserOptions from pydantic import AnyUrl, EmailStr -from typing_extensions import Unpack +from typing_extensions import Any, Unpack from datetime import date, datetime, time, timedelta from ipaddress import IPv4Address, IPv6Address -from typing import Any from uuid import UUID diff --git a/tests/parser/test_ref_type_parser.py b/tests/parser/test_ref_type_parser.py index 44b0949..e82c9c9 100644 --- a/tests/parser/test_ref_type_parser.py +++ b/tests/parser/test_ref_type_parser.py @@ -2,8 +2,8 @@ from jambo.exceptions import InternalAssertionException, InvalidSchemaException from jambo.parser import ObjectTypeParser, RefTypeParser from pydantic import ValidationError +from typing_extensions import ForwardRef -from typing import ForwardRef from unittest import TestCase