INNER CODE UNIT · Python
to_db_config
Nuclear-Marmalade/dataforge · forge/dashboard/app.py:135
def to_db_config(self):
return {"db_path": self.db_path}
# ── Enrichment state (global, mutable) ─────────────────────────────────────
_enrichment_thread: Optional[threading.Thread] = None
_enrichment_stop = threading.Event()
_enrichment_stats: Dict[str, Any] = {
"running": False,
"total_processed": 0,
"emails_found": 0,
"tech_stacks_found": 0,
"rate_per_hour": 0,
"progress_pct": 0,
"log_messages": [],
"started_at": None,
}