thegetty / crom

Python library to make creation of CIDOC CRM easier by mapping classes/predicates to python objects
Apache License 2.0
49 stars 16 forks source link

Make serialization recursion tracking threadsafe ... I think #38

Closed azaroth42 closed 5 years ago

azaroth42 commented 5 years ago

PR takes done off of factory as a property, and passes it around by reference. Functions that are called as the API need to set it explicitly to a new empty dict, otherwise the VM seems to use the same dict as the previous invocation if it defaults to the param default. (Who knew? Certainly not me)