def METHOD_NAME(*, db_session, name: str) -> Optional[Organization]:
    """Gets an organization by its name."""
    return db_session.query(Organization).filter(Organization.name == name).one_or_none()