core: fix type annotation for user settings
This commit is contained in:
parent
2e2c9f5287
commit
78e5d471e3
|
@ -23,7 +23,7 @@ class UserSettingsView(SuccessMessageMixin, LoginRequiredMixin, UpdateView):
|
||||||
def get_object(self):
|
def get_object(self):
|
||||||
return self.request.user
|
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)
|
kwargs = super().get_context_data(**kwargs)
|
||||||
unenrollment_flow = Flow.with_policy(
|
unenrollment_flow = Flow.with_policy(
|
||||||
self.request, designation=FlowDesignation.UNRENOLLMENT
|
self.request, designation=FlowDesignation.UNRENOLLMENT
|
||||||
|
|
Reference in New Issue