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
3.6 KiB
JSON
1 line
3.6 KiB
JSON
{"nodes": [{"id": "backend_alembic_env_py", "label": "env.py", "file_type": "code", "source_file": "backend/alembic/env.py", "source_location": "L1"}, {"id": "env_run_migrations_offline", "label": "run_migrations_offline()", "file_type": "code", "source_file": "backend/alembic/env.py", "source_location": "L22"}, {"id": "env_run_migrations_online", "label": "run_migrations_online()", "file_type": "code", "source_file": "backend/alembic/env.py", "source_location": "L35"}], "edges": [{"source": "backend_alembic_env_py", "target": "logging_config", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "sqlalchemy", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "alembic", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "app_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "app_config", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "env_run_migrations_offline", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_alembic_env_py", "target": "env_run_migrations_online", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/alembic/env.py", "source_location": "L35", "weight": 1.0}], "raw_calls": [{"caller_nid": "env_run_migrations_offline", "callee": "get_main_option", "source_file": "backend/alembic/env.py", "source_location": "L23"}, {"caller_nid": "env_run_migrations_offline", "callee": "configure", "source_file": "backend/alembic/env.py", "source_location": "L24"}, {"caller_nid": "env_run_migrations_offline", "callee": "begin_transaction", "source_file": "backend/alembic/env.py", "source_location": "L31"}, {"caller_nid": "env_run_migrations_offline", "callee": "run_migrations", "source_file": "backend/alembic/env.py", "source_location": "L32"}, {"caller_nid": "env_run_migrations_online", "callee": "engine_from_config", "source_file": "backend/alembic/env.py", "source_location": "L36"}, {"caller_nid": "env_run_migrations_online", "callee": "get_section", "source_file": "backend/alembic/env.py", "source_location": "L37"}, {"caller_nid": "env_run_migrations_online", "callee": "connect", "source_file": "backend/alembic/env.py", "source_location": "L42"}, {"caller_nid": "env_run_migrations_online", "callee": "configure", "source_file": "backend/alembic/env.py", "source_location": "L43"}, {"caller_nid": "env_run_migrations_online", "callee": "begin_transaction", "source_file": "backend/alembic/env.py", "source_location": "L48"}, {"caller_nid": "env_run_migrations_online", "callee": "run_migrations", "source_file": "backend/alembic/env.py", "source_location": "L49"}]} |