Ask a question to get started
Enter to send•Shift+Enter new line
to_dict( self, ) -> dict[str, Any]
Dump this config to plain dict/list/scalar values.
Suitable for json.dumps or yaml.safe_dump. Fields at their default are omitted so the output stays minimal and round-trips cleanly through from_dict.
json.dumps
yaml.safe_dump
from_dict