Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > pydantic >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
_internal | Directory | - | - | |
deprecated | Directory | - | - | |
plugin | Directory | - | - | |
v1 | Directory | - | - | |
__init__.py | File | 5814 bytes | March 06 2024 00:27:04. | |
_migration.py | File | 11899 bytes | March 06 2024 00:27:04. | |
alias_generators.py | File | 1141 bytes | March 06 2024 00:27:04. | |
annotated_handlers.py | File | 4346 bytes | March 06 2024 00:27:04. | |
class_validators.py | File | 147 bytes | March 06 2024 00:27:04. | |
color.py | File | 21493 bytes | March 06 2024 00:27:04. | |
config.py | File | 24737 bytes | March 06 2024 00:27:04. | |
dataclasses.py | File | 11490 bytes | March 06 2024 00:27:04. | |
datetime_parse.py | File | 149 bytes | March 06 2024 00:27:04. | |
decorator.py | File | 144 bytes | March 06 2024 00:27:04. | |
env_settings.py | File | 147 bytes | March 06 2024 00:27:04. | |
error_wrappers.py | File | 149 bytes | March 06 2024 00:27:04. | |
errors.py | File | 4595 bytes | March 06 2024 00:27:04. | |
fields.py | File | 45513 bytes | March 06 2024 00:27:04. | |
functional_serializers.py | File | 10780 bytes | March 06 2024 00:27:04. | |
functional_validators.py | File | 20471 bytes | March 06 2024 00:27:04. | |
generics.py | File | 143 bytes | March 06 2024 00:27:04. | |
json.py | File | 139 bytes | March 06 2024 00:27:04. | |
json_schema.py | File | 100686 bytes | March 06 2024 00:27:04. | |
main.py | File | 62260 bytes | March 06 2024 00:27:04. | |
mypy.py | File | 50721 bytes | March 06 2024 00:27:04. | |
networks.py | File | 20543 bytes | March 06 2024 00:27:04. | |
parse.py | File | 140 bytes | March 06 2024 00:27:04. | |
py.typed | File | 0 bytes | March 06 2024 00:27:04. | |
root_model.py | File | 4949 bytes | March 06 2024 00:27:04. | |
schema.py | File | 141 bytes | March 06 2024 00:27:04. | |
tools.py | File | 140 bytes | March 06 2024 00:27:04. | |
type_adapter.py | File | 18818 bytes | March 06 2024 00:27:04. | |
types.py | File | 72231 bytes | March 06 2024 00:27:04. | |
typing.py | File | 137 bytes | March 06 2024 00:27:04. | |
utils.py | File | 140 bytes | March 06 2024 00:27:04. | |
validate_call.py | File | 1780 bytes | March 06 2024 00:27:04. | |
validators.py | File | 145 bytes | March 06 2024 00:27:04. | |
version.py | File | 2307 bytes | March 06 2024 00:27:04. | |
warnings.py | File | 1947 bytes | March 06 2024 00:27:04. |
"""Pydantic-specific warnings.""" from __future__ import annotations as _annotations from .version import version_short __all__ = 'PydanticDeprecatedSince20', 'PydanticDeprecationWarning' class PydanticDeprecationWarning(DeprecationWarning): """A Pydantic specific deprecation warning. This warning is raised when using deprecated functionality in Pydantic. It provides information on when the deprecation was introduced and the expected version in which the corresponding functionality will be removed. Attributes: message: Description of the warning. since: Pydantic version in what the deprecation was introduced. expected_removal: Pydantic version in what the corresponding functionality expected to be removed. """ message: str since: tuple[int, int] expected_removal: tuple[int, int] def __init__( self, message: str, *args: object, since: tuple[int, int], expected_removal: tuple[int, int] | None = None ) -> None: super().__init__(message, *args) self.message = message.rstrip('.') self.since = since self.expected_removal = expected_removal if expected_removal is not None else (since[0] + 1, 0) def __str__(self) -> str: message = ( f'{self.message}. Deprecated in Pydantic V{self.since[0]}.{self.since[1]}' f' to be removed in V{self.expected_removal[0]}.{self.expected_removal[1]}.' ) if self.since == (2, 0): message += f' See Pydantic V2 Migration Guide at https://errors.pydantic.dev/{version_short()}/migration/' return message class PydanticDeprecatedSince20(PydanticDeprecationWarning): """A specific `PydanticDeprecationWarning` subclass defining functionality deprecated since Pydantic 2.0.""" def __init__(self, message: str, *args: object) -> None: super().__init__(message, *args, since=(2, 0), expected_removal=(3, 0))
SILENT KILLER Tool