16 lines
461 B
Python
16 lines
461 B
Python
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()
|