quantlab.runs.record.code_of#

quantlab.runs.record.code_of(root)[source]#

Return the code record of root and every component under it.

code_record over root (path "") and walk_components(root): the git commit, the digest of every module defining a class of the tree or a base class of one, and the library versions.

Examples

>>> record = code_of(model)
>>> record["modules"]["quantlab.model.base"]["components"]
['']