Ejemplo n.º 1
0
 def _before(self, *args, **kw):
     TIMRestPathContextSetup.current_user()
     TIMRestPathContextSetup.current_workspace()
     TIMRestPathContextSetup.current_folder()
     TIMRestPathContextSetup.current_thread()
Ejemplo n.º 2
0
 def _before(self, *args, **kw):
     TIMRestPathContextSetup.current_user()
     try:
         TIMRestPathContextSetup.current_workspace()
     except NoResultFound:
         abort(404)
Ejemplo n.º 3
0
 def _before(self, *args, **kw):
     TIMRestPathContextSetup.current_user()
     TIMRestPathContextSetup.current_workspace()