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.0 KiB
JSON
1 line
8.0 KiB
JSON
{"nodes": [{"id": "backend_alembic_versions_0008_phase5_orchestration_py", "label": "0008_phase5_orchestration.py", "file_type": "code", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L1"}, {"id": "0008_phase5_orchestration_upgrade", "label": "upgrade()", "file_type": "code", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L17"}, {"id": "0008_phase5_orchestration_downgrade", "label": "downgrade()", "file_type": "code", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L67"}, {"id": "0008_phase5_orchestration_rationale_1", "label": "Phase 5 orchestration: weekly_run table + pending_approval_policy Revision ID:", "file_type": "rationale", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L1"}], "edges": [{"source": "backend_alembic_versions_0008_phase5_orchestration_py", "target": "alembic", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_alembic_versions_0008_phase5_orchestration_py", "target": "sqlalchemy", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_alembic_versions_0008_phase5_orchestration_py", "target": "sqlalchemy_dialects", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_alembic_versions_0008_phase5_orchestration_py", "target": "0008_phase5_orchestration_upgrade", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_alembic_versions_0008_phase5_orchestration_py", "target": "0008_phase5_orchestration_downgrade", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L67", "weight": 1.0}, {"source": "0008_phase5_orchestration_rationale_1", "target": "backend_alembic_versions_0008_phase5_orchestration_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "add_column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L18"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L20"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "String", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L22"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "create_table", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L27"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L29"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "UUID", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L31"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "text", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L33"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L35"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "UUID", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L37"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "ForeignKey", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L38"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L41"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L42"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "String", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L42"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L43"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "DateTime", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L43"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L44"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "DateTime", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L44"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L45"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "DateTime", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L45"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L46"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "DateTime", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L46"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L47"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "DateTime", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L47"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L48"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L54"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "String", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L54"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L55"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "Column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L56"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "DateTime", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L58"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "text", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L59"}, {"caller_nid": "0008_phase5_orchestration_upgrade", "callee": "UniqueConstraint", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L61"}, {"caller_nid": "0008_phase5_orchestration_downgrade", "callee": "drop_table", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L68"}, {"caller_nid": "0008_phase5_orchestration_downgrade", "callee": "drop_column", "source_file": "backend/alembic/versions/0008_phase5_orchestration.py", "source_location": "L69"}]} |