From b67d1d4e273ae60e82a3b058ee731cf7cbcc2b90 Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Tue, 28 Jul 2020 17:37:21 -0700 Subject: [PATCH] Fix type annotations in needs_params again --- src/replit/maqpy/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replit/maqpy/utils.py b/src/replit/maqpy/utils.py index 266699f..7665aed 100644 --- a/src/replit/maqpy/utils.py +++ b/src/replit/maqpy/utils.py @@ -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: