MCPcopy
hub / github.com/vladmandic/sdnext / find

Method find

modules/shared_state.py:146–150  ·  view source on GitHub ↗
(self, task_id:str)

Source from the content-addressed store, hash-verified

144 return res
145
146 def find(self, task_id:str):
147 for job in reversed(self.state_history):
148 if job['id'] == task_id:
149 return job
150 return None
151
152 def history(self, op: str, task_id: str | None = None, results: list | None = None):
153 if results is None:

Callers 1

endMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected