Add vendored packages back

This commit is contained in:
Massimiliano Culpo
2022-11-16 20:43:44 +01:00
committed by Todd Gamblin
parent 5175189412
commit 033cb86fd6
154 changed files with 41107 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from typing import Callable, Optional, 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: ...