-
-
Save peacememories/b454c0ef69290e1927b3cb282feea3c2 to your computer and use it in GitHub Desktop.
django-click stub for mypy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from typing import Any, Callable, Optional, TypeVar, Union, overload | |
from click import Group | |
F = TypeVar("F", bound=Callable[..., Any]) | |
@overload | |
def group( | |
__func: Callable[..., Any], | |
) -> Group: ... | |
@overload | |
def group( | |
name: Optional[str] = None, | |
**attrs: Any, | |
) -> Callable[[F], Group]: ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment