def ensure_file_directory_exists(filepath):
    ensure_directory_exists(os.path.dirname(filepath))
    return filepath
Get a value to be associated with a URI attribute
dataset/ETHPy150Open ARM-software/workload-automation/wlauto/utils/misc.py/ensure_file_directory_exists--crossover with--dataset/ETHPy150Open openstack/python-openstacksdk/openstack/proxy2.py/BaseProxy._get_uri_attribute