core: fix type annotation for user settings

This commit is contained in:
Jens Langhammer 2020-07-05 23:49:33 +02:00
parent 2e2c9f5287
commit 78e5d471e3
1 changed files with 1 additions and 1 deletions

View File

@ -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