X7ROOT File Manager
Current Path:
/opt/cloudlinux/venv/lib/python3.11/site-packages/attr
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
attr
/
??
..
??
__init__.py
(3.17 KB)
??
__init__.pyi
(17.2 KB)
??
__pycache__
??
_cmp.py
(4 KB)
??
_cmp.pyi
(399 B)
??
_compat.py
(5.67 KB)
??
_config.py
(826 B)
??
_funcs.py
(16.34 KB)
??
_make.py
(94.71 KB)
??
_next_gen.py
(6.12 KB)
??
_typing_compat.pyi
(469 B)
??
_version_info.py
(2.07 KB)
??
_version_info.pyi
(209 B)
??
converters.py
(3.52 KB)
??
converters.pyi
(406 B)
??
exceptions.py
(1.85 KB)
??
exceptions.pyi
(539 B)
??
filters.py
(1.44 KB)
??
filters.pyi
(225 B)
??
py.typed
(0 B)
??
setters.py
(1.37 KB)
??
setters.pyi
(567 B)
??
validators.py
(20.22 KB)
??
validators.pyi
(2.52 KB)
Editing: _config.py
# SPDX-License-Identifier: MIT __all__ = ["set_run_validators", "get_run_validators"] _run_validators = True def set_run_validators(run): """ Set whether or not validators are run. By default, they are run. .. deprecated:: 21.3.0 It will not be removed, but it also will not be moved to new ``attrs`` namespace. Use `attrs.validators.set_disabled()` instead. """ if not isinstance(run, bool): raise TypeError("'run' must be bool.") global _run_validators _run_validators = run def get_run_validators(): """ Return whether or not validators are run. .. deprecated:: 21.3.0 It will not be removed, but it also will not be moved to new ``attrs`` namespace. Use `attrs.validators.get_disabled()` instead. """ return _run_validators
Upload File
Create Folder