(self, execution_id, user)
| 88 | return self._get_for_executor(execution_id, lambda e: e.get_return_code()) |
| 89 | |
| 90 | def is_running(self, execution_id, user): |
| 91 | executor = self._executors.get(execution_id) # type: ScriptExecutor |
| 92 | if executor is None: |
| 93 | return False |
| 94 | |
| 95 | self.validate_execution_id(execution_id, user, only_active=False, allow_when_history_access=True) |
| 96 | |
| 97 | return not executor.is_finished() |
| 98 | |
| 99 | def get_active_executions(self, user_id): |
| 100 | result = [] |