Fix notion script + update lead-engine debug tools

This commit is contained in:
Jarvis
2026-01-31 17:37:32 +00:00
parent 8cbac74b2f
commit 5d3080ba74
2 changed files with 16 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from db import get_leads
import json
def debug():
leads = get_leads()
print(f"--- DEBUGGING LEADS ({len(leads)}) ---")
for lead in leads:
print(f"ID: {lead['id']}")
print(f" Company: {lead['company_name']}")
print(f" Status: '{lead['status']}'") # Anführungszeichen wichtig um Leerschritte zu sehen
print(f" Enrichment: {lead['enrichment_data']}")
print("-" * 20)
if __name__ == "__main__":
debug()