profiles.base.BaseProfile.to_yaml#

BaseProfile.to_yaml(filepath: str, **kwargs)[source]#

Serialize the profile to a YAML file.

Parameters:
  • filepath (str) – Path to the output YAML file.

  • kwargs (dict) – Additional arguments passed to yaml.dump.