MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeWiki / fail

Method fail

codewiki/cli/models/job.py:95–99  ·  view source on GitHub ↗

Mark job as failed.

(self, error_message: str)

Source from the content-addressed store, hash-verified

93 llm_config: Optional[LLMConfig] = None
94 statistics: JobStatistics = field(default_factory=JobStatistics)
95
96 def start(self):
97 """Mark job as started."""
98 self.status = JobStatus.RUNNING
99 self.timestamp_start = datetime.now().isoformat()
100
101 def complete(self):
102 """Mark job as completed."""

Callers 1

generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected