to_dict
to_dict(
self ,
)-> ‘dict[str, Any]’
Return a document which describes this record.
Every field is dumped by pydantic, so a field added later is written without this having to be edited. The three which pydantic has no document form for are excluded from that dump rather than written and overwritten: it would raise on a task holding an array, or on a time recorded alongside the run, before reaching the line which replaces what it produced.