def METHOD_NAME(api: _Api, dataset: HubspotDataset) -> _PageApi:
    """Some clients have a '{name}_api' attribute.
    basic_api seems to be the default fallback
    """
    page_api_name = dataset.value + '_api'
    if hasattr(api, page_api_name):
        return getattr(api, page_api_name)
    return api.basic_api