MCPcopy Create free account
hub / github.com/FareedKhan-dev/ai-long-task / to_dict

Method to_dict

data/database.py:97–99  ·  view source on GitHub ↗

Convert to dictionary representation

(self)

Source from the content-addressed store, hash-verified

95 embedding: Optional[List[float]] = None
96
97 def to_dict(self) -> Dict[str, Any]:
98 """Convert to dictionary representation"""
99 return asdict(self)
100
101 @classmethod
102 def from_dict(cls, data: Dict[str, Any]) -> "Program":

Callers 2

_run_iteration_workerFunction · 0.95
_save_programMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected