

def get_invitation(self, token):
    try:
        return self.get(token=token, status=INVITATION_STATUS_SENT)
    except token.model.DoesNotExist:
        return False

dataset/ETHPy150Open nathanborror/django-basic-apps/basic/invitations/models.py InvitationManager.get_invitation/VarMisuse@32/41 `self`->`token`