yaml#
method
- ServiceConfiguration.yaml(sort_keys: bool = False, default_flow_style: bool = False, exclude_defaults: bool = False) str#
Returns a YAML representation of the configuration.
- Parameters:
- sort_keysbool, optional
Sorts the keys of the dictionary alphabetically if True, else leaves them in the order as declared by the model (default False).
- default_flow_stylebool, optional
Uses the default flow style if True, or formats in human-readable from if False (default False).
- exclude_defaultsbool, optional
Excludes default values from the YAML output if True, else includes them (default False).