Download lib/python3.11/site-packages/attr/converters.pyi from michaelu0826/phantom_env: direct link, hf CLI and curl.
- Browser
- Download file 643 Bytes
-
https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/lib/python3.11/site-packages/attr/converters.pyi
- Command line
-
hf download hf://datasets/michaelu0826/phantom_env/lib/python3.11/site-packages/attr/converters.pyi
-
curl -L -o converters.pyi https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/lib/python3.11/site-packages/attr/converters.pyi
643 Bytes
| from typing import Callable, Any, overload | |
| from attrs import _ConverterType, _CallableConverterType | |
| def pipe(*validators: _CallableConverterType) -> _CallableConverterType: ... | |
| def pipe(*validators: _ConverterType) -> _ConverterType: ... | |
| def optional(converter: _CallableConverterType) -> _CallableConverterType: ... | |
| def optional(converter: _ConverterType) -> _ConverterType: ... | |
| def default_if_none(default: Any) -> _CallableConverterType: ... | |
| def default_if_none( | |
| *, factory: Callable[[], Any] | |
| ) -> _CallableConverterType: ... | |
| def to_bool(val: str | int | bool) -> bool: ... | |