def dehydrate(self, bundle): bundle = super(ResourceMixin, self).dehydrate(bundle) name = str(type(self).__name__) appPool.hook_resource_bundle(name, self, bundle) return bundle
def dehydrate(self, bundle): bundle = super(ResourceMixin, self).dehydrate(bundle) name = str(type(self).__name__) appPool.hook_resource_bundle(name, self, bundle) return bundle