MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / exist

Method exist

camel/tasks/task.py:314–316  ·  view source on GitHub ↗

r"""Check if a task with the given id exists.

(self, task_id: str)

Source from the content-addressed store, hash-verified

312 return f"{len(self.tasks)}"
313
314 def exist(self, task_id: str) -> bool:
315 r"""Check if a task with the given id exists."""
316 return task_id in self.task_map
317
318 @property
319 def current_task(self) -> Optional[Task]:

Callers 1

add_tasksMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected