Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
_attrs.pyi22 linesDownload Raw Back to referencing
1from collections.abc import Callable2from typing import Any, TypeVar3 4from attr import attrib, field5 6class UnsupportedSubclassing(Exception): ...7 8_T = TypeVar("_T")9 10def __dataclass_transform__(11    *,12    frozen_default: bool = False,13    field_descriptors: tuple[type | Callable[..., Any], ...] = ...,14) -> Callable[[_T], _T]: ...15@__dataclass_transform__(field_descriptors=(attrib, field))16def define(cls: type[_T]) -> type[_T]: ...17@__dataclass_transform__(18    frozen_default=True,19    field_descriptors=(attrib, field),20)21def frozen(cls: type[_T]) -> type[_T]: ...22 
codekingpro/portable-devtools · Team Ai