BaseRecord

class ntoseye.BaseRecord

An immutable result, the base of every typed result class (PciFunction, …), whose properties are its fields. Like a frozen dataclass, it compares and hashes by class and fields, matches by __match_args__ (its fields, in order) and is not a container; use to_dict() to walk the fields by name.

to_dict() → dict[str, Any]

A plain nested dict, with all records and diagnostics converted, for serializing or comparing a result.