Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

converters.pyi 406B

12345678910111213
  1. from typing import Callable, TypeVar, overload
  2. from . import _ConverterType
  3. _T = TypeVar("_T")
  4. def pipe(*validators: _ConverterType) -> _ConverterType: ...
  5. def optional(converter: _ConverterType) -> _ConverterType: ...
  6. @overload
  7. def default_if_none(default: _T) -> _ConverterType: ...
  8. @overload
  9. def default_if_none(*, factory: Callable[[], _T]) -> _ConverterType: ...
  10. def to_bool(val: str) -> bool: ...