def METHOD_NAME(self, name):
    """Get the sport with the specified name.
    If no sport with the given name exists then None is returned."""
    if name is None:
        raise ValueError("Sport name cannot be None")
    try:
        return self._ddbb.session.query(Sport).filter(Sport.name == name).one()
    except NoResultFound:
        return None