MCPcopy Index your code
hub / github.com/bugy/script-server / get_active_executor

Method get_active_executor

src/execution/execution_service.py:39–44  ·  view source on GitHub ↗
(self, execution_id, user)

Source from the content-addressed store, hash-verified

37 self._env_vars = env_vars
38
39 def get_active_executor(self, execution_id, user):
40 self.validate_execution_id(execution_id, user, only_active=False)
41 if execution_id not in self._active_executor_ids:
42 return None
43
44 return self._executors.get(execution_id)
45
46 def start_script(self, config, user: User):
47 audit_name = user.get_audit_name()

Calls 2

validate_execution_idMethod · 0.95
getMethod · 0.45