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: _typing_compat.pyi
from typing import Any, ClassVar, Protocol # MYPY is a special constant in mypy which works the same way as `TYPE_CHECKING`. MYPY = False if MYPY: # A protocol to be able to statically accept an attrs class. class AttrsInstance_(Protocol): __attrs_attrs__: ClassVar[Any] else: # For type checkers without plug-in support use an empty protocol that # will (hopefully) be combined into a union. class AttrsInstance_(Protocol): pass
Upload File
Create Folder