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
6.8 KiB
JSON
1 line
6.8 KiB
JSON
{"nodes": [{"id": "backend_app_api_feedback_py", "label": "feedback.py", "file_type": "code", "source_file": "backend/app/api/feedback.py", "source_location": "L1"}, {"id": "feedback_get_feedback", "label": "get_feedback()", "file_type": "code", "source_file": "backend/app/api/feedback.py", "source_location": "L17"}, {"id": "feedback_create_feedback", "label": "create_feedback()", "file_type": "code", "source_file": "backend/app/api/feedback.py", "source_location": "L39"}, {"id": "feedback_rationale_22", "label": "Get existing feedback for a meal plan item.", "file_type": "rationale", "source_file": "backend/app/api/feedback.py", "source_location": "L22"}, {"id": "feedback_rationale_44", "label": "Create or update feedback for a meal plan item.", "file_type": "rationale", "source_file": "backend/app/api/feedback.py", "source_location": "L44"}], "edges": [{"source": "backend_app_api_feedback_py", "target": "uuid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "app_database", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "app_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "app_schemas", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "app_security", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "feedback_get_feedback", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_app_api_feedback_py", "target": "feedback_create_feedback", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L39", "weight": 1.0}, {"source": "feedback_rationale_22", "target": "feedback_get_feedback", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L22", "weight": 1.0}, {"source": "feedback_rationale_44", "target": "feedback_create_feedback", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/app/api/feedback.py", "source_location": "L44", "weight": 1.0}], "raw_calls": [{"caller_nid": "feedback_get_feedback", "callee": "first", "source_file": "backend/app/api/feedback.py", "source_location": "L23"}, {"caller_nid": "feedback_get_feedback", "callee": "filter", "source_file": "backend/app/api/feedback.py", "source_location": "L23"}, {"caller_nid": "feedback_get_feedback", "callee": "query", "source_file": "backend/app/api/feedback.py", "source_location": "L23"}, {"caller_nid": "feedback_get_feedback", "callee": "HTTPException", "source_file": "backend/app/api/feedback.py", "source_location": "L25"}, {"caller_nid": "feedback_get_feedback", "callee": "first", "source_file": "backend/app/api/feedback.py", "source_location": "L28"}, {"caller_nid": "feedback_get_feedback", "callee": "filter", "source_file": "backend/app/api/feedback.py", "source_location": "L28"}, {"caller_nid": "feedback_get_feedback", "callee": "query", "source_file": "backend/app/api/feedback.py", "source_location": "L28"}, {"caller_nid": "feedback_get_feedback", "callee": "UUID", "source_file": "backend/app/api/feedback.py", "source_location": "L31"}, {"caller_nid": "feedback_create_feedback", "callee": "first", "source_file": "backend/app/api/feedback.py", "source_location": "L45"}, {"caller_nid": "feedback_create_feedback", "callee": "filter", "source_file": "backend/app/api/feedback.py", "source_location": "L45"}, {"caller_nid": "feedback_create_feedback", "callee": "query", "source_file": "backend/app/api/feedback.py", "source_location": "L45"}, {"caller_nid": "feedback_create_feedback", "callee": "HTTPException", "source_file": "backend/app/api/feedback.py", "source_location": "L49"}, {"caller_nid": "feedback_create_feedback", "callee": "first", "source_file": "backend/app/api/feedback.py", "source_location": "L51"}, {"caller_nid": "feedback_create_feedback", "callee": "filter", "source_file": "backend/app/api/feedback.py", "source_location": "L51"}, {"caller_nid": "feedback_create_feedback", "callee": "query", "source_file": "backend/app/api/feedback.py", "source_location": "L51"}, {"caller_nid": "feedback_create_feedback", "callee": "UUID", "source_file": "backend/app/api/feedback.py", "source_location": "L51"}, {"caller_nid": "feedback_create_feedback", "callee": "HTTPException", "source_file": "backend/app/api/feedback.py", "source_location": "L53"}, {"caller_nid": "feedback_create_feedback", "callee": "first", "source_file": "backend/app/api/feedback.py", "source_location": "L56"}, {"caller_nid": "feedback_create_feedback", "callee": "filter", "source_file": "backend/app/api/feedback.py", "source_location": "L56"}, {"caller_nid": "feedback_create_feedback", "callee": "query", "source_file": "backend/app/api/feedback.py", "source_location": "L56"}, {"caller_nid": "feedback_create_feedback", "callee": "UUID", "source_file": "backend/app/api/feedback.py", "source_location": "L59"}, {"caller_nid": "feedback_create_feedback", "callee": "commit", "source_file": "backend/app/api/feedback.py", "source_location": "L69"}, {"caller_nid": "feedback_create_feedback", "callee": "refresh", "source_file": "backend/app/api/feedback.py", "source_location": "L70"}, {"caller_nid": "feedback_create_feedback", "callee": "Feedback", "source_file": "backend/app/api/feedback.py", "source_location": "L73"}, {"caller_nid": "feedback_create_feedback", "callee": "UUID", "source_file": "backend/app/api/feedback.py", "source_location": "L74"}, {"caller_nid": "feedback_create_feedback", "callee": "add", "source_file": "backend/app/api/feedback.py", "source_location": "L81"}, {"caller_nid": "feedback_create_feedback", "callee": "commit", "source_file": "backend/app/api/feedback.py", "source_location": "L82"}, {"caller_nid": "feedback_create_feedback", "callee": "refresh", "source_file": "backend/app/api/feedback.py", "source_location": "L83"}]} |