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