quantlab.utils.sidecar.JsonSidecar#
- class quantlab.utils.sidecar.JsonSidecar[source]#
Bases:
objectA JSON sidecar’s payload, its atomic rewrite and its symbol stamp.
A subclass sets
pathand_payload(a dict holding at leastsymbol_countandsymbol_fingerprint) and decides how the file is read.Examples
See the module docstring.
- property symbol_count#
Return the number of symbols the sidecar was last written with, or None.
Examples
See the module docstring.
- property symbol_fingerprint#
Return the fingerprint of the symbols last written, or None.
What it hashes is the subclass’s choice.
Examples
See the module docstring.