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
8.7 KiB
JSON
1 line
8.7 KiB
JSON
{"nodes": [{"id": "scripts_enrich_recipes_spoonacular_py", "label": "enrich_recipes_spoonacular.py", "file_type": "code", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L1"}, {"id": "enrich_recipes_spoonacular_strip_html", "label": "strip_html()", "file_type": "code", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L30"}, {"id": "enrich_recipes_spoonacular_search_recipe", "label": "search_recipe()", "file_type": "code", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L34"}, {"id": "enrich_recipes_spoonacular_main", "label": "main()", "file_type": "code", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L53"}], "edges": [{"source": "scripts_enrich_recipes_spoonacular_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L12", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L13", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "time", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L14", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L15", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L16", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "requests", "relation": "imports", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L18", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L19", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "enrich_recipes_spoonacular_strip_html", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L30", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "enrich_recipes_spoonacular_search_recipe", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L34", "weight": 1.0}, {"source": "scripts_enrich_recipes_spoonacular_py", "target": "enrich_recipes_spoonacular_main", "relation": "contains", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L53", "weight": 1.0}, {"source": "enrich_recipes_spoonacular_main", "target": "enrich_recipes_spoonacular_search_recipe", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L81", "weight": 1.0}, {"source": "enrich_recipes_spoonacular_main", "target": "enrich_recipes_spoonacular_strip_html", "relation": "calls", "confidence": "EXTRACTED", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L95", "weight": 1.0}], "raw_calls": [{"caller_nid": "enrich_recipes_spoonacular_strip_html", "callee": "strip", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L31"}, {"caller_nid": "enrich_recipes_spoonacular_strip_html", "callee": "sub", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L31"}, {"caller_nid": "enrich_recipes_spoonacular_search_recipe", "callee": "get", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L35"}, {"caller_nid": "enrich_recipes_spoonacular_search_recipe", "callee": "error", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L46"}, {"caller_nid": "enrich_recipes_spoonacular_search_recipe", "callee": "exit", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L47"}, {"caller_nid": "enrich_recipes_spoonacular_search_recipe", "callee": "raise_for_status", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L48"}, {"caller_nid": "enrich_recipes_spoonacular_search_recipe", "callee": "get", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L49"}, {"caller_nid": "enrich_recipes_spoonacular_search_recipe", "callee": "json", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L49"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "error", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L55"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "exit", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L56"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "create_engine", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L58"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "connect", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L60"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "fetchall", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L61"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "execute", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L61"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "text", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L62"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "info", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L70"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "len", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L70"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "create_engine", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L75"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "connect", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L76"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "info", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L78"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "len", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L78"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "warning", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L83"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "sleep", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L84"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "info", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L88"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "sleep", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L90"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "get", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L93"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "get", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L94"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "execute", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L97"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "text", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L98"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "commit", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L103"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "len", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L106"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "info", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L107"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "sleep", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L109"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "info", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L111"}, {"caller_nid": "enrich_recipes_spoonacular_main", "callee": "len", "source_file": "scripts/enrich_recipes_spoonacular.py", "source_location": "L115"}]} |