Spaces:
Runtime error
Runtime error
Download venv/Lib/site-packages/attr/converters.pyi from uday987/pythonProject16: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/spaces/uday987/pythonProject16/resolve/main/venv/Lib/site-packages/attr/converters.pyi
- Command line
-
hf download hf://spaces/uday987/pythonProject16/venv/Lib/site-packages/attr/converters.pyi
-
curl -L -o converters.pyi https://huggingface.co/spaces/uday987/pythonProject16/resolve/main/venv/Lib/site-packages/attr/converters.pyi
406 Bytes
| from typing import Callable, TypeVar, overload | |
| from . import _ConverterType | |
| _T = TypeVar("_T") | |
| def pipe(*validators: _ConverterType) -> _ConverterType: ... | |
| def optional(converter: _ConverterType) -> _ConverterType: ... | |
| @overload | |
| def default_if_none(default: _T) -> _ConverterType: ... | |
| @overload | |
| def default_if_none(*, factory: Callable[[], _T]) -> _ConverterType: ... | |
| def to_bool(val: str) -> bool: ... | |