def METHOD_NAME(run_config_object, yaml_file):
    try:
        file = open(yaml_file, 'w', encoding='utf-8')
        yaml.dump(run_config_object, file)
        file.close()
    except Exception as e:
        pass