def load_location_hierarchy(location_set_version_id: int=None, location_file: Path=None, **kwargs):
    assert ((location_set_version_id and (not location_file)) or ((not location_set_version_id) and location_file))
    if location_set_version_id:
        return ihme_deps.get_location_hierarchy_by_version(location_set_version_id=location_set_version_id)
    else:
        return pd.read_csv(location_file)
def load_location_hierarchy(location_set_version_id: int=None, location_file: Path=None, **kwargs):
    assert ((location_set_version_id and (not location_file)) or ((not location_set_version_id) and location_file))
    if location_set_version_id:
        return ihme_deps.get_location_hierarchy_by_version(location_set_version_id=location_set_version_id)
    else:
        return pd.read_csv(location_file)