Skip to main content

convert_and_save

Method
This is a method of the AutoGenerator class in the auto module.
Converts the provided JSON data into the desired YAML format and saves it to a file.

Signature

def convert_and_save(json_data: Any, merge: Any) -> Any

Parameters

json_data
Any
required
The JSON data representing the team structure.
merge
Any
default:"False"
Whether to merge with existing agents.yaml file instead of overwriting.

Returns

Returns
Any
The result of the operation.