From 9239b2fdcf4584018ad10978bed7df4fbd964342 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Sat, 17 Oct 2020 23:59:03 -0500 Subject: [PATCH] Fix syntax error in with_course_api_auth type annotation --- course/auth.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/course/auth.py b/course/auth.py index dcc96c50b..fe9623760 100644 --- a/course/auth.py +++ b/course/auth.py @@ -1287,8 +1287,7 @@ def auth_course_with_token(method, func, request, return response -def with_course_api_auth(method): - # type: (Text,) -> Any +def with_course_api_auth(method: Text) -> Any: def wrapper_with_method(func): def wrapper(*args, **kwargs): return auth_course_with_token(method, func, *args, **kwargs)