X7ROOT File Manager
Current Path:
/opt/hc_python/lib/python3.12/site-packages/pydantic/v1
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pydantic
/
v1
/
📁
..
📄
__init__.py
(2.88 KB)
📁
__pycache__
📄
_hypothesis_plugin.py
(14.5 KB)
📄
annotated_types.py
(3.08 KB)
📄
class_validators.py
(14.33 KB)
📄
color.py
(16.45 KB)
📄
config.py
(6.38 KB)
📄
dataclasses.py
(17.75 KB)
📄
datetime_parse.py
(7.54 KB)
📄
decorator.py
(10.1 KB)
📄
env_settings.py
(13.77 KB)
📄
error_wrappers.py
(5.07 KB)
📄
errors.py
(17.31 KB)
📄
fields.py
(49.46 KB)
📄
generics.py
(17.45 KB)
📄
json.py
(3.31 KB)
📄
main.py
(43.5 KB)
📄
mypy.py
(37.87 KB)
📄
networks.py
(21.61 KB)
📄
parse.py
(1.78 KB)
📄
py.typed
(0 B)
📄
schema.py
(46.64 KB)
📄
tools.py
(2.81 KB)
📄
types.py
(34.62 KB)
📄
typing.py
(18.93 KB)
📄
utils.py
(25.31 KB)
📄
validators.py
(21.48 KB)
📄
version.py
(1.01 KB)
Editing: version.py
__all__ = 'compiled', 'VERSION', 'version_info' VERSION = '1.10.17' 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