

def dispatch(self, request, *args, **kwargs):
    default_result = super(ProjectAccessMixin, self).dispatch(request, *args, **kwargs)
    check_result = self.check_can_access(request)
    if check_result:
        return check_result
    else:
        return self

dataset/ETHPy150Open nvbn/coviolations_web/projects/utils.py ProjectAccessMixin.dispatch/VarMisuse@61/76 `default_result`->`self`