def ensure_fairsharing(force_download: bool=False, use_tqdm: bool=True, **kwargs):
    'Get the FAIRsharing registry.'
    if (PATH.exists() and (not force_download)):
        return PATH
    client = FairsharingClient(**kwargs)
    rv = {row['prefix']: row for row in tqdm(client.iter_records(), unit_scale=True, unit='record', desc='Downloading FAIRsharing', disable=(not use_tqdm))}
    with PATH.open('w') as file:
        yaml.safe_dump(rv, file, allow_unicode=True, sort_keys=True)
    return PATH
Get the FAIRsharing registry.
def ensure_fairsharing(force_download: bool=False, use_tqdm: bool=True, **kwargs):
    
    if (PATH.exists() and (not force_download)):
        return PATH
    client = FairsharingClient(**kwargs)
    rv = {row['prefix']: row for row in tqdm(client.iter_records(), unit_scale=True, unit='record', desc='Downloading FAIRsharing', disable=(not use_tqdm))}
    with PATH.open('w') as file:
        yaml.safe_dump(rv, file, allow_unicode=True, sort_keys=True)
    return PATH