TOKENIZABLE_REGISTRY#

gufe.tokenization.TOKENIZABLE_REGISTRY: WeakValueDictionary[str, GufeTokenizable]#

Registry of tokenizable objects.

Used to avoid duplication of tokenizable gufe objects in memory when deserialized. Each key is a token, each value the corresponding object.

We use a weakref.WeakValueDictionary here to avoid holding references to objects that are no longer referenced anywhere else.