Method summary
- __init__(self)
- register(self, class_name, module, handler)
- unregister(self, class_name, module)
- update(self, state)
Methods
- __init__(self)
- register(self, class_name, module, handler)
Register handler that handles versioning for class having class name (class_name) and module name (module). The handler function will be passed the state and its version to fix.
- unregister(self, class_name, module)
Unregisters any handlers for a class and module.
- update(self, state)
Updates the given state using the handlers. Note that the state is modified in-place.