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