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
7.2 KiB
JSON
1 line
7.2 KiB
JSON
{"nodes": [{"id": "backend_app_api_pantry_py", "label": "pantry.py", "file_type": "code", "source_file": "backend/app/api/pantry.py", "source_location": "L1"}, {"id": "pantry_get_pantry_items", "label": "get_pantry_items()", "file_type": "code", "source_file": "backend/app/api/pantry.py", "source_location": "L14"}, {"id": "pantry_add_pantry_item", "label": "add_pantry_item()", "file_type": "code", "source_file": "backend/app/api/pantry.py", "source_location": "L26"}, {"id": "pantry_remove_pantry_item", "label": "remove_pantry_item()", "file_type": "code", "source_file": "backend/app/api/pantry.py", "source_location": "L59"}, {"id": "pantry_update_pantry_item", "label": "update_pantry_item()", "file_type": "code", "source_file": "backend/app/api/pantry.py", "source_location": "L70"}], "edges": [{"source": "backend_app_api_pantry_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "app_database", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "app_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "app_schemas", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "app_security", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "uuid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "pantry_get_pantry_items", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "pantry_add_pantry_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "pantry_remove_pantry_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L59", "weight": 1.0}, {"source": "backend_app_api_pantry_py", "target": "pantry_update_pantry_item", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/pantry.py", "source_location": "L70", "weight": 1.0}], "raw_calls": [{"caller_nid": "pantry_get_pantry_items", "callee": "first", "source_file": "backend/app/api/pantry.py", "source_location": "L15"}, {"caller_nid": "pantry_get_pantry_items", "callee": "query", "source_file": "backend/app/api/pantry.py", "source_location": "L15"}, {"caller_nid": "pantry_get_pantry_items", "callee": "HTTPException", "source_file": "backend/app/api/pantry.py", "source_location": "L17"}, {"caller_nid": "pantry_get_pantry_items", "callee": "all", "source_file": "backend/app/api/pantry.py", "source_location": "L19"}, {"caller_nid": "pantry_get_pantry_items", "callee": "filter", "source_file": "backend/app/api/pantry.py", "source_location": "L19"}, {"caller_nid": "pantry_get_pantry_items", "callee": "query", "source_file": "backend/app/api/pantry.py", "source_location": "L19"}, {"caller_nid": "pantry_add_pantry_item", "callee": "first", "source_file": "backend/app/api/pantry.py", "source_location": "L27"}, {"caller_nid": "pantry_add_pantry_item", "callee": "query", "source_file": "backend/app/api/pantry.py", "source_location": "L27"}, {"caller_nid": "pantry_add_pantry_item", "callee": "HTTPException", "source_file": "backend/app/api/pantry.py", "source_location": "L29"}, {"caller_nid": "pantry_add_pantry_item", "callee": "first", "source_file": "backend/app/api/pantry.py", "source_location": "L31"}, {"caller_nid": "pantry_add_pantry_item", "callee": "filter", "source_file": "backend/app/api/pantry.py", "source_location": "L31"}, {"caller_nid": "pantry_add_pantry_item", "callee": "query", "source_file": "backend/app/api/pantry.py", "source_location": "L31"}, {"caller_nid": "pantry_add_pantry_item", "callee": "commit", "source_file": "backend/app/api/pantry.py", "source_location": "L40"}, {"caller_nid": "pantry_add_pantry_item", "callee": "refresh", "source_file": "backend/app/api/pantry.py", "source_location": "L41"}, {"caller_nid": "pantry_add_pantry_item", "callee": "HomePantry", "source_file": "backend/app/api/pantry.py", "source_location": "L44"}, {"caller_nid": "pantry_add_pantry_item", "callee": "add", "source_file": "backend/app/api/pantry.py", "source_location": "L52"}, {"caller_nid": "pantry_add_pantry_item", "callee": "commit", "source_file": "backend/app/api/pantry.py", "source_location": "L53"}, {"caller_nid": "pantry_add_pantry_item", "callee": "refresh", "source_file": "backend/app/api/pantry.py", "source_location": "L54"}, {"caller_nid": "pantry_remove_pantry_item", "callee": "first", "source_file": "backend/app/api/pantry.py", "source_location": "L60"}, {"caller_nid": "pantry_remove_pantry_item", "callee": "filter", "source_file": "backend/app/api/pantry.py", "source_location": "L60"}, {"caller_nid": "pantry_remove_pantry_item", "callee": "query", "source_file": "backend/app/api/pantry.py", "source_location": "L60"}, {"caller_nid": "pantry_remove_pantry_item", "callee": "HTTPException", "source_file": "backend/app/api/pantry.py", "source_location": "L62"}, {"caller_nid": "pantry_remove_pantry_item", "callee": "delete", "source_file": "backend/app/api/pantry.py", "source_location": "L64"}, {"caller_nid": "pantry_remove_pantry_item", "callee": "commit", "source_file": "backend/app/api/pantry.py", "source_location": "L65"}, {"caller_nid": "pantry_update_pantry_item", "callee": "first", "source_file": "backend/app/api/pantry.py", "source_location": "L71"}, {"caller_nid": "pantry_update_pantry_item", "callee": "filter", "source_file": "backend/app/api/pantry.py", "source_location": "L71"}, {"caller_nid": "pantry_update_pantry_item", "callee": "query", "source_file": "backend/app/api/pantry.py", "source_location": "L71"}, {"caller_nid": "pantry_update_pantry_item", "callee": "HTTPException", "source_file": "backend/app/api/pantry.py", "source_location": "L73"}, {"caller_nid": "pantry_update_pantry_item", "callee": "commit", "source_file": "backend/app/api/pantry.py", "source_location": "L80"}, {"caller_nid": "pantry_update_pantry_item", "callee": "refresh", "source_file": "backend/app/api/pantry.py", "source_location": "L81"}]} |