def METHOD_NAME(cls, org_id, entity_id) -> Affiliation:
    """Return an affiliation for the provided org and entity ids."""
    return cls.query.filter_by(org_id=org_id, entity_id=entity_id).one_or_none()