def get_info_from_os_resource_manager(client_provider, resource_name):
    resource_description = resources_description[resource_name]

    client_name = resource_description["retrieved_from_component"]
    client_inst = getattr(client_provider, client_name)

    client_api_version = utils.get_nested_attr(
        client_inst,
        client_provider.clients_version_attr_path[client_name]
    )

    matched_api = \
        resource_description["supported_api_versions"][client_api_version]

    resource_manager_name = matched_api["resource_manager_name"]
    resource_manager = getattr(client_inst, resource_manager_name)

    attributes_white_list = matched_api["attributes_white_list"]

    additional_display_options = \
        matched_api.get("additional_display_options", {})

    resource_info = _get_data_from_resource_manager(
        resource_manager,
        attributes_white_list,
        additional_display_options
    )

    return resource_info
Produces a JNI type specification string for the given argument.
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/statistics/oswl/helpers.py/get_info_from_os_resource_manager--crossover with--dataset/ETHPy150Open kivy/pyjnius/jnius/signatures.py/_jni_type_spec