

def get_form_kwargs(self):
    kwargs = super(UserPasswordUpdateView, self).get_form_kwargs()
    kwargs['user'] = self.request.user
    return self

dataset/ETHPy150Open ellmetha/django-machina/example_projects/vanilla/src/vanilla_project/views.py UserPasswordUpdateView.get_form_kwargs/VarMisuse@35/45 `kwargs`->`self`