Skip to content

Commit

Permalink
core: fix type annotation for user settings
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Jul 5, 2020
1 parent 2e2c9f5 commit 78e5d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passbook/core/views/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 78e5d47

Please sign in to comment.