ai2_kit.tool.yaml module# class ai2_kit.tool.yaml.YamlTool[source]# Bases: object Tool for handling YAML files. dump(in_place=False, pretty=True)[source]# get(key: Union[str, int])[source]# load(yaml_file: str)[source]# print()[source]# Print the YAML data to stdout. set_value(key: str, value)[source]# edit a yaml file Parameters: yaml_file (str) – path to the yaml file key (str) – key to edit, support nested key, e.g. a.b.c value ([type]) – new value