'Get a player by id.
Args:
uid (int): Player database id.
Returns:
player (Player): The result.'

@returns_typeclass
def get_player_from_uid(self, uid):

    try:
        return self.get(id=uid)
    except self.model.DoesNotExist:
        return None
