def get_papi_client(config_parser, logger):
    base_client = papi_client.PapiClientFactory.client_from_config(config_parser, 'papi', logger)
    client = loader.PapiClientCollection(base_client=base_client, conf=config_parser, logger=logger)
    client.load_view('appliance_mgmt')
    return client
def get_papi_client(config_parser, logger):
    base_client = papi_client.PapiClientFactory.client_from_config(config_parser, 'papi', logger)
    client = loader.PapiClientCollection(base_client=base_client, conf=config_parser, logger=logger)
    client.load_view('appliance_mgmt')
    return client