object_to_yaml

health_azure.object_to_yaml(o)[source]

Converts an object to a YAML string representation. This is done by recursively traversing all attributes and writing them out to YAML if they are basic datatypes.

Parameters

o (Any) – The object to inspect.

Return type

str

Returns

A string in YAML format.