PATH: //opt/cloudlinux/venv/lib/python3.11/site-packages/attr
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📄 __init__.pyi
↓
X
📁 __pycache__/
X
📄 _cmp.py
↓
X
📄 _cmp.pyi
↓
X
📄 _compat.py
↓
X
📄 _config.py
↓
X
📄 _funcs.py
↓
X
📄 _make.py
↓
X
📄 _next_gen.py
↓
X
📄 _typing_compat.pyi
↓
X
📄 _version_info.py
↓
X
📄 _version_info.pyi
↓
X
📄 converters.py
↓
X
📄 converters.pyi
↓
X
📄 exceptions.py
↓
X
📄 exceptions.pyi
↓
X
📄 filters.py
↓
X
📄 filters.pyi
↓
X
📄 py.typed
↓
X
📄 setters.py
↓
X
📄 setters.pyi
↓
X
📄 validators.py
↓
X
📄 validators.pyi
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: setters.pyi
from typing import Any, NewType, NoReturn, TypeVar from . import Attribute, _OnSetAttrType _T = TypeVar("_T") def frozen( instance: Any, attribute: Attribute[Any], new_value: Any ) -> NoReturn: ... def pipe(*setters: _OnSetAttrType) -> _OnSetAttrType: ... def validate(instance: Any, attribute: Attribute[_T], new_value: _T) -> _T: ... # convert is allowed to return Any, because they can be chained using pipe. def convert( instance: Any, attribute: Attribute[Any], new_value: Any ) -> Any: ... _NoOpType = NewType("_NoOpType", object) NO_OP: _NoOpType
SIMPAN PERUBAHAN