Skip to content

v2.1.9

Compare
Choose a tag to compare
@FelixTheC FelixTheC released this 02 Nov 10:35
· 37 commits to main since this release
51845a2
  • improvement of callable checks
    # the parameter/return value is an unknown callable
    Callable[..., Any]
    # the callable will have no arguments and returns a string
    Callable[[], str]
    # the annotation needs to match the callable you want to allow
    # for multiple options use
    Union[
          Callable[[int, str, str], str], 
          Callable[[int, str, int], str]
         ]