mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Fix type annotations in needs_params again
This commit is contained in:
@@ -57,7 +57,7 @@ def needs_signin(func: Callable = None, login_html: str = sign_in_snippet) -> Ca
|
||||
|
||||
def needs_params(
|
||||
*param_names: str, onerror: Callable[[Tuple[str]], flask.Response] = None
|
||||
) -> Callable[FunctionType]:
|
||||
) -> Callable:
|
||||
"""Require paramaters before a handler can be activated.
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user