xvadur's picture
Add complete Aethero_App and aethero_protocol directories
46f737d
import yaml
def save_yaml_output(data, output_path):
"""
Save data to a YAML file.
Args:
data (dict): The data to save.
output_path (str): The path to the output YAML file.
"""
with open(output_path, "w", encoding="utf-8") as file:
yaml.dump(data, file, default_flow_style=False, allow_unicode=True)
print(f"[✓] YAML output saved to {output_path}")