示例#1
0
 def assert_current_task(self):
     if self.current_task is None:
         error = BadRequest('Unable to find a binding task from this Task App')
         error.status_code = 404
         raise error