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