- class glue.config.DataTranslatorRegistry[source]¶
Stores data translators, which are classes that define methods to translate between
Dataobjects and other kinds of data containers.
This is provided so that registry instances can be used as decorators.
- __call__(target_cls, priority=0)[source]¶
This is provided so that registry instances can be used as decorators. The decorators should add the decorated code object to the registry, and return the original function