Current Path: > > opt > cloudlinux > venv > lib > python3.11 > site-packages > pydantic
Operation : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 Software : Apache Server IP : 198.54.126.42 | Your IP: 216.73.216.135 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 | April 17 2024 13:36:23. | |
_migration.py | File | 11899 bytes | April 17 2024 13:36:23. | |
alias_generators.py | File | 1141 bytes | April 17 2024 13:36:23. | |
annotated_handlers.py | File | 4346 bytes | April 17 2024 13:36:23. | |
class_validators.py | File | 147 bytes | April 17 2024 13:36:23. | |
color.py | File | 21493 bytes | April 17 2024 13:36:23. | |
config.py | File | 24737 bytes | April 17 2024 13:36:23. | |
dataclasses.py | File | 11490 bytes | April 17 2024 13:36:23. | |
datetime_parse.py | File | 149 bytes | April 17 2024 13:36:23. | |
decorator.py | File | 144 bytes | April 17 2024 13:36:23. | |
env_settings.py | File | 147 bytes | April 17 2024 13:36:23. | |
error_wrappers.py | File | 149 bytes | April 17 2024 13:36:23. | |
errors.py | File | 4595 bytes | April 17 2024 13:36:23. | |
fields.py | File | 45513 bytes | April 17 2024 13:36:23. | |
functional_serializers.py | File | 10780 bytes | April 17 2024 13:36:23. | |
functional_validators.py | File | 20471 bytes | April 17 2024 13:36:23. | |
generics.py | File | 143 bytes | April 17 2024 13:36:23. | |
json.py | File | 139 bytes | April 17 2024 13:36:23. | |
json_schema.py | File | 100686 bytes | April 17 2024 13:36:23. | |
main.py | File | 62260 bytes | April 17 2024 13:36:23. | |
mypy.py | File | 50721 bytes | April 17 2024 13:36:23. | |
networks.py | File | 20543 bytes | April 17 2024 13:36:23. | |
parse.py | File | 140 bytes | April 17 2024 13:36:23. | |
py.typed | File | 0 bytes | April 17 2024 13:36:23. | |
root_model.py | File | 4949 bytes | April 17 2024 13:36:23. | |
schema.py | File | 141 bytes | April 17 2024 13:36:23. | |
tools.py | File | 140 bytes | April 17 2024 13:36:23. | |
type_adapter.py | File | 18818 bytes | April 17 2024 13:36:23. | |
types.py | File | 72231 bytes | April 17 2024 13:36:23. | |
typing.py | File | 137 bytes | April 17 2024 13:36:23. | |
utils.py | File | 140 bytes | April 17 2024 13:36:23. | |
validate_call.py | File | 1780 bytes | April 17 2024 13:36:23. | |
validators.py | File | 145 bytes | April 17 2024 13:36:23. | |
version.py | File | 2307 bytes | April 17 2024 13:36:23. | |
warnings.py | File | 1947 bytes | April 17 2024 13:36:23. |
"""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