diff --git a/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py b/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py index 2485e2815..dcf6e1a6e 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py +++ b/vendor/pydantic-argparse/pydantic_argparse/argparse/parser.py @@ -20,7 +20,7 @@ import argparse import sys -from typing import Generic, List, NoReturn, Optional, Tuple, Type, Any, Never +from typing import Generic, NoReturn, Optional, Type, Any, Never from pydantic import BaseModel, ValidationError diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py b/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py index 8d7af15a4..f7b2bc0da 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/nesting.py @@ -5,7 +5,7 @@ """Utilities to help with parsing arbitrarily nested `pydantic` models.""" from argparse import Namespace -from typing import Any, Dict, Generic, Tuple, Type, TypeAlias +from typing import Any, Generic, Type, TypeAlias from boltons.iterutils import get_path, remap from pydantic import BaseModel diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py b/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py index 2a648044e..a47636b88 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py @@ -18,8 +18,6 @@ Any, Iterator, Literal, - Optional, - Tuple, Type, TypeVar, Union,