PydanticDeprecatedSince210
A specific PydanticDeprecationWarning subclass defining functionality deprecated since Pydantic 2.10.
Attributes
| Attribute | Type | Description |
|---|---|---|
| message | string | The warning message describing the specific functionality deprecated in Pydantic 2.10. |
| since | tuple = (2, 10) | The Pydantic version tuple (2, 10) marking when the deprecation was first introduced. |
| expected_removal | tuple = (3, 0) | The Pydantic version tuple (3, 0) indicating when the deprecated functionality is scheduled for removal. |
Constructor
Signature
def PydanticDeprecatedSince210(
message: str,
*args: object
) - > None
Parameters
| Name | Type | Description |
|---|---|---|
| message | str | The deprecation message describing what is being deprecated. |
| *args | object | Additional positional arguments passed to the parent warning class. |
Signature
def PydanticDeprecatedSince210(
message: str,
*args: object
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| message | str | The warning message text explaining what functionality is deprecated and what to use instead |
| *args | object | Additional positional arguments passed to the base PydanticDeprecationWarning class |