diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/field.py b/vendor/pydantic-argparse/pydantic_argparse/utils/field.py index fc090a085..25fa729bf 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/field.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/field.py @@ -20,8 +20,7 @@ def __init__( hidden: bool, **kwargs: Unpack[_FromFieldInfoInputs], ): - """ - Creates a new ArgFieldInfo. + """Creates a new ArgFieldInfo. This is a special variant of pydantic's FieldInfo, which adds several arguments, mainly related to CLI arguments. @@ -58,8 +57,7 @@ def Field( hidden: bool = False, **kwargs: Unpack[_FromFieldInfoInputs], ) -> Any: - """ - Creates a new ArgFieldInfo. + """Creates a new ArgFieldInfo. This is a special variant of pydantic's Field() function, which adds several arguments, mainly related to CLI arguments. diff --git a/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py b/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py index 6f9b6de8b..35d22c8cf 100644 --- a/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py +++ b/vendor/pydantic-argparse/pydantic_argparse/utils/pydantic.py @@ -27,7 +27,6 @@ Annotated, ) -from mypyc.ir.ops import Assign from pydantic import BaseModel from pydantic.fields import FieldInfo from pydantic_core import PydanticUndefined