def __init__(self, *args, **kwargs): BaseRestController.__init__(self, *args, **kwargs) super(Mixin, self).__init__()
def __init__(self, *args): BaseRestController.__init__(self, *args) self.user = self.session('user') self.transformer = self.component('data_transformer') self.params = self.transformer.simplify(self.request.arguments)