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.7 KiB
JSON
1 line
7.7 KiB
JSON
{"nodes": [{"id": "backend_app_api_profile_py", "label": "profile.py", "file_type": "code", "source_file": "backend/app/api/profile.py", "source_location": "L1"}, {"id": "profile_get_profile", "label": "get_profile()", "file_type": "code", "source_file": "backend/app/api/profile.py", "source_location": "L17"}, {"id": "profile_update_profile", "label": "update_profile()", "file_type": "code", "source_file": "backend/app/api/profile.py", "source_location": "L25"}, {"id": "profile_get_members", "label": "get_members()", "file_type": "code", "source_file": "backend/app/api/profile.py", "source_location": "L40"}, {"id": "profile_add_member", "label": "add_member()", "file_type": "code", "source_file": "backend/app/api/profile.py", "source_location": "L48"}, {"id": "profile_delete_member", "label": "delete_member()", "file_type": "code", "source_file": "backend/app/api/profile.py", "source_location": "L74"}], "edges": [{"source": "backend_app_api_profile_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "app_database", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "app_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "app_schemas", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "app_security", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "uuid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "profile_get_profile", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "profile_update_profile", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L25", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "profile_get_members", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L40", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "profile_add_member", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L48", "weight": 1.0}, {"source": "backend_app_api_profile_py", "target": "profile_delete_member", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/api/profile.py", "source_location": "L74", "weight": 1.0}], "raw_calls": [{"caller_nid": "profile_get_profile", "callee": "first", "source_file": "backend/app/api/profile.py", "source_location": "L18"}, {"caller_nid": "profile_get_profile", "callee": "query", "source_file": "backend/app/api/profile.py", "source_location": "L18"}, {"caller_nid": "profile_get_profile", "callee": "HTTPException", "source_file": "backend/app/api/profile.py", "source_location": "L20"}, {"caller_nid": "profile_update_profile", "callee": "first", "source_file": "backend/app/api/profile.py", "source_location": "L26"}, {"caller_nid": "profile_update_profile", "callee": "query", "source_file": "backend/app/api/profile.py", "source_location": "L26"}, {"caller_nid": "profile_update_profile", "callee": "HTTPException", "source_file": "backend/app/api/profile.py", "source_location": "L28"}, {"caller_nid": "profile_update_profile", "callee": "model_dump", "source_file": "backend/app/api/profile.py", "source_location": "L30"}, {"caller_nid": "profile_update_profile", "callee": "items", "source_file": "backend/app/api/profile.py", "source_location": "L31"}, {"caller_nid": "profile_update_profile", "callee": "setattr", "source_file": "backend/app/api/profile.py", "source_location": "L32"}, {"caller_nid": "profile_update_profile", "callee": "commit", "source_file": "backend/app/api/profile.py", "source_location": "L34"}, {"caller_nid": "profile_update_profile", "callee": "refresh", "source_file": "backend/app/api/profile.py", "source_location": "L35"}, {"caller_nid": "profile_get_members", "callee": "first", "source_file": "backend/app/api/profile.py", "source_location": "L41"}, {"caller_nid": "profile_get_members", "callee": "query", "source_file": "backend/app/api/profile.py", "source_location": "L41"}, {"caller_nid": "profile_get_members", "callee": "HTTPException", "source_file": "backend/app/api/profile.py", "source_location": "L43"}, {"caller_nid": "profile_add_member", "callee": "first", "source_file": "backend/app/api/profile.py", "source_location": "L49"}, {"caller_nid": "profile_add_member", "callee": "query", "source_file": "backend/app/api/profile.py", "source_location": "L49"}, {"caller_nid": "profile_add_member", "callee": "HTTPException", "source_file": "backend/app/api/profile.py", "source_location": "L51"}, {"caller_nid": "profile_add_member", "callee": "first", "source_file": "backend/app/api/profile.py", "source_location": "L53"}, {"caller_nid": "profile_add_member", "callee": "filter", "source_file": "backend/app/api/profile.py", "source_location": "L53"}, {"caller_nid": "profile_add_member", "callee": "query", "source_file": "backend/app/api/profile.py", "source_location": "L53"}, {"caller_nid": "profile_add_member", "callee": "HTTPException", "source_file": "backend/app/api/profile.py", "source_location": "L58"}, {"caller_nid": "profile_add_member", "callee": "FamilyMember", "source_file": "backend/app/api/profile.py", "source_location": "L60"}, {"caller_nid": "profile_add_member", "callee": "upper", "source_file": "backend/app/api/profile.py", "source_location": "L64"}, {"caller_nid": "profile_add_member", "callee": "add", "source_file": "backend/app/api/profile.py", "source_location": "L67"}, {"caller_nid": "profile_add_member", "callee": "commit", "source_file": "backend/app/api/profile.py", "source_location": "L68"}, {"caller_nid": "profile_add_member", "callee": "refresh", "source_file": "backend/app/api/profile.py", "source_location": "L69"}, {"caller_nid": "profile_delete_member", "callee": "first", "source_file": "backend/app/api/profile.py", "source_location": "L75"}, {"caller_nid": "profile_delete_member", "callee": "filter", "source_file": "backend/app/api/profile.py", "source_location": "L75"}, {"caller_nid": "profile_delete_member", "callee": "query", "source_file": "backend/app/api/profile.py", "source_location": "L75"}, {"caller_nid": "profile_delete_member", "callee": "HTTPException", "source_file": "backend/app/api/profile.py", "source_location": "L77"}, {"caller_nid": "profile_delete_member", "callee": "delete", "source_file": "backend/app/api/profile.py", "source_location": "L79"}, {"caller_nid": "profile_delete_member", "callee": "commit", "source_file": "backend/app/api/profile.py", "source_location": "L80"}]} |