def _register_model_handler(handler_class):
 _registry.frozen = False
 _registry.register(handler_class(registry=_registry))
 _registry.frozen = True

def _register_model_handler ( handler_class ) : _registry . frozen = False _registry . register ( handler_class ( registry = _registry ) ) _registry . frozen = True
register a new model handler .