X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/pydantic/v1
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pydantic
/
v1
/
??
..
??
__init__.py
(2.71 KB)
??
__pycache__
??
_hypothesis_plugin.py
(14.5 KB)
??
annotated_types.py
(3.05 KB)
??
class_validators.py
(14.25 KB)
??
color.py
(16.42 KB)
??
config.py
(6.33 KB)
??
dataclasses.py
(17.1 KB)
??
datetime_parse.py
(7.53 KB)
??
decorator.py
(10.02 KB)
??
env_settings.py
(13.71 KB)
??
error_wrappers.py
(5.02 KB)
??
errors.py
(17.28 KB)
??
fields.py
(49.3 KB)
??
generics.py
(17.39 KB)
??
json.py
(3.27 KB)
??
main.py
(43.34 KB)
??
mypy.py
(37.84 KB)
??
networks.py
(21.54 KB)
??
parse.py
(1.77 KB)
??
py.typed
(0 B)
??
schema.py
(46.5 KB)
??
tools.py
(2.76 KB)
??
types.py
(34.55 KB)
??
typing.py
(18.55 KB)
??
utils.py
(25.2 KB)
??
validators.py
(21.37 KB)
??
version.py
(1.01 KB)
Editing: version.py
__all__ = 'compiled', 'VERSION', 'version_info' VERSION = '1.10.13' try: import cython # type: ignore except ImportError: compiled: bool = False else: # pragma: no cover try: compiled = cython.compiled except AttributeError: compiled = False def version_info() -> str: import platform import sys from importlib import import_module from pathlib import Path optional_deps = [] for p in ('devtools', 'dotenv', 'email-validator', 'typing-extensions'): try: import_module(p.replace('-', '_')) except ImportError: continue optional_deps.append(p) info = { 'pydantic version': VERSION, 'pydantic compiled': compiled, 'install path': Path(__file__).resolve().parent, 'python version': sys.version, 'platform': platform.platform(), 'optional deps. installed': optional_deps, } return '\n'.join('{:>30} {}'.format(k + ':', str(v).replace('\n', ' ')) for k, v in info.items())
Upload File
Create Folder