def as_collection(self, parent_instance): from pyramid.threadlocal import get_current_request from pyramid.httpexceptions import HTTPUnauthorized from assembl.models.user_key_values import NsDict return NsDict(parent_instance)
def as_collection(self, parent_instance): from assembl.models.user_key_values import NsDict return NsDict(parent_instance)