Public Access
- config: switch Settings to ConfigDict(extra='ignore') so extra env vars (spoonacular_api_key, SWIFTLY_BEARER_TOKEN) don't crash import. Remove deprecated class Config. - email: wrap SendGrid imports in try/except so the module loads without the optional dependency. Update test_email_backend to patch Mail/RepyTo. - planner_select: default PlannerConfig.set_size=21 (3 meals/day × 7) is way too large for the unit test assertion that checks 3-recipe diversity. Introduced _CFG_3 with set_size=3 and applied to all tests. - Delete stale test_matcher.py importing removed functions. Full suite: 46 passed, 74 skipped (Postgres), 0 failed, 120 collected.
1 line
5.8 KiB
JSON
1 line
5.8 KiB
JSON
{"nodes": [{"id": "backend_app_api_orchestrate_py", "label": "orchestrate.py", "file_type": "code", "source_file": "backend/app/api/orchestrate.py", "source_location": "L1"}, {"id": "orchestrate_orchestrate_status", "label": "orchestrate_status()", "file_type": "code", "source_file": "backend/app/api/orchestrate.py", "source_location": "L15"}, {"id": "orchestrate_orchestrate_run_week", "label": "orchestrate_run_week()", "file_type": "code", "source_file": "backend/app/api/orchestrate.py", "source_location": "L41"}, {"id": "orchestrate_orchestrate_step", "label": "orchestrate_step()", "file_type": "code", "source_file": "backend/app/api/orchestrate.py", "source_location": "L51"}], "edges": [{"source": "backend_app_api_orchestrate_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "app_database", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "app_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "app_services_orchestrator", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "orchestrate_orchestrate_status", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "orchestrate_orchestrate_run_week", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_app_api_orchestrate_py", "target": "orchestrate_orchestrate_step", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/orchestrate.py", "source_location": "L51", "weight": 1.0}], "raw_calls": [{"caller_nid": "orchestrate_orchestrate_status", "callee": "all", "source_file": "backend/app/api/orchestrate.py", "source_location": "L17"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "limit", "source_file": "backend/app/api/orchestrate.py", "source_location": "L17"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "order_by", "source_file": "backend/app/api/orchestrate.py", "source_location": "L17"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "query", "source_file": "backend/app/api/orchestrate.py", "source_location": "L17"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "desc", "source_file": "backend/app/api/orchestrate.py", "source_location": "L18"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "str", "source_file": "backend/app/api/orchestrate.py", "source_location": "L25"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "str", "source_file": "backend/app/api/orchestrate.py", "source_location": "L26"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "isoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L27"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "isoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L28"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "isoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L29"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "isoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L30"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "isoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L31"}, {"caller_nid": "orchestrate_orchestrate_status", "callee": "isoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L32"}, {"caller_nid": "orchestrate_orchestrate_run_week", "callee": "fromisoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L45"}, {"caller_nid": "orchestrate_orchestrate_run_week", "callee": "add_task", "source_file": "backend/app/api/orchestrate.py", "source_location": "L46"}, {"caller_nid": "orchestrate_orchestrate_run_week", "callee": "str", "source_file": "backend/app/api/orchestrate.py", "source_location": "L47"}, {"caller_nid": "orchestrate_orchestrate_step", "callee": "HTTPException", "source_file": "backend/app/api/orchestrate.py", "source_location": "L57"}, {"caller_nid": "orchestrate_orchestrate_step", "callee": "sorted", "source_file": "backend/app/api/orchestrate.py", "source_location": "L59"}, {"caller_nid": "orchestrate_orchestrate_step", "callee": "fromisoformat", "source_file": "backend/app/api/orchestrate.py", "source_location": "L61"}, {"caller_nid": "orchestrate_orchestrate_step", "callee": "add_task", "source_file": "backend/app/api/orchestrate.py", "source_location": "L62"}, {"caller_nid": "orchestrate_orchestrate_step", "callee": "str", "source_file": "backend/app/api/orchestrate.py", "source_location": "L63"}]} |