def get_op_clone_address_list_from_yaml(descript_paths):
    """
    Extract the path for a specific file name
    Parameters:
        directory - directory to be extracted
        file_name - file name to be extracted
    Returns:
        a list contains the path for the specified file
        in input directory
    """
    op_link_list = []
    logger.debug(descript_paths)
    for descript_path in descript_paths:
        with open(descript_path, encoding='utf-8') as file:
            content = file.read()
            data = yaml.load(content, Loader=yaml.FullLoader)
            models = data.get("models")
            if models is None:
                continue
            for model in models:
                op_link = list(model.values())[0].get("op-link")
                if op_link not in op_link_list:
                    op_link_list.append(op_link)
            file.close()

    logger.debug("Extracted %d ops \n" % len(op_link_list))
    logger.debug(op_link_list)

    return op_link_list
Extract the path for a specific file name
Parameters:
directory - directory to be extracted
file_name - file name to be extracted
Returns:
a list contains the path for the specified file
in input directory
tests/testcases/hub/execute_hub_operators.py