Esempio n. 1
0
    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)
Esempio n. 2
0
 def __init__(self, *args, **kwargs):
     BaseRestController.__init__(self, *args, **kwargs)
     super(Mixin, self).__init__()