code: def get_limits(self):
          
          vals = self._hook_manager.call_hook('task_limits', course=self.get_course(), task=self, default=self._limits)
          return vals[0] if len(vals) else self._limits
docs: Return the limits of this task