def find_user(cls, username): """ Returns a user based on the username :param username: :type username: """ return User.object(username=username)