yaloader.YAMLConfigDumper#
- class yaloader.YAMLConfigDumper(stream, default_style=None, default_flow_style=False, canonical=None, indent=None, width=None, allow_unicode=None, line_break=None, encoding=None, explicit_start=None, explicit_end=None, version=None, tags=None, sort_keys=True)[source]#
Bases:
SafeDumperYAML dumper for the configs.
- exclude_defaults: bool = True#
If True exclude all default values when dumping the config. See https://pydantic-docs.helpmanual.io/usage/exporting_models/ for details.
- exclude_unset: bool = True#
If True exclude all unset values when dumping the config. See https://pydantic-docs.helpmanual.io/usage/exporting_models/ for details.