MCPcopy Create free account
hub / github.com/T0UGH/codex-self-evolution-plugin / to_dict

Method to_dict

src/codex_self_evolution/migrate.py:72–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 pending_count: int
71
72 def to_dict(self) -> dict[str, Any]:
73 return {
74 "source_bucket": self.source_bucket,
75 "source_path": str(self.source_path),
76 "source_cwd": str(self.source_cwd),
77 "target_bucket": self.target_bucket,
78 "target_path": str(self.target_path),
79 "target_cwd": str(self.target_cwd),
80 "source_memory_entries": self.source_memory_entries,
81 "pending_count": self.pending_count,
82 }
83
84
85@dataclass

Callers 2

to_dictMethod · 0.45
run_migrationFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected