def model_unpickle(model, attrs):
 cls = deferred_class_factory(model, attrs)
 return cls.__new__(cls)

def model_unpickle ( model , attrs ) : cls = deferred_class_factory ( model , attrs ) return cls . __new__ ( cls )
used to unpickle model subclasses with deferred fields .