From 78e5d471e3adee576ce10adb11b32357f35260aa Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 5 Jul 2020 23:49:33 +0200 Subject: [PATCH] core: fix type annotation for user settings --- passbook/core/views/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passbook/core/views/user.py b/passbook/core/views/user.py index 4bc02b27f..61b98e6f3 100644 --- a/passbook/core/views/user.py +++ b/passbook/core/views/user.py @@ -23,7 +23,7 @@ class UserSettingsView(SuccessMessageMixin, LoginRequiredMixin, UpdateView): def get_object(self): return self.request.user - def get_context_data(self, **kwargs: Dict[str, Any]) -> Dict[str, Any]: + def get_context_data(self, **kwargs: Any) -> Dict[str, Any]: kwargs = super().get_context_data(**kwargs) unenrollment_flow = Flow.with_policy( self.request, designation=FlowDesignation.UNRENOLLMENT