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
5.7 KiB
JSON
1 line
5.7 KiB
JSON
{"nodes": [{"id": "backend_app_schemas_recipe_py", "label": "recipe.py", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L1"}, {"id": "recipe_recipeingredientref", "label": "RecipeIngredientRef", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L10"}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "recipe_recipebase", "label": "RecipeBase", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L17"}, {"id": "recipe_recipecreate", "label": "RecipeCreate", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L34"}, {"id": "recipe_recipeupdate", "label": "RecipeUpdate", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L38"}, {"id": "recipe_reciperead", "label": "RecipeRead", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L54"}, {"id": "recipe_resolveingredientrequest", "label": "ResolveIngredientRequest", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L60"}, {"id": "recipe_resolveingredientcandidate", "label": "ResolveIngredientCandidate", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L64"}, {"id": "recipe_resolveingredientresponse", "label": "ResolveIngredientResponse", "file_type": "code", "source_file": "backend/app/schemas/recipe.py", "source_location": "L71"}], "edges": [{"source": "backend_app_schemas_recipe_py", "target": "decimal", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "uuid", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "pydantic", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_recipeingredientref", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L10", "weight": 1.0}, {"source": "recipe_recipeingredientref", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_recipebase", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L17", "weight": 1.0}, {"source": "recipe_recipebase", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_recipecreate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L34", "weight": 1.0}, {"source": "recipe_recipecreate", "target": "recipe_recipebase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L34", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_recipeupdate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L38", "weight": 1.0}, {"source": "recipe_recipeupdate", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L38", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_reciperead", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L54", "weight": 1.0}, {"source": "recipe_reciperead", "target": "recipe_recipebase", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L54", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_resolveingredientrequest", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L60", "weight": 1.0}, {"source": "recipe_resolveingredientrequest", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L60", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_resolveingredientcandidate", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L64", "weight": 1.0}, {"source": "recipe_resolveingredientcandidate", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L64", "weight": 1.0}, {"source": "backend_app_schemas_recipe_py", "target": "recipe_resolveingredientresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L71", "weight": 1.0}, {"source": "recipe_resolveingredientresponse", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/app/schemas/recipe.py", "source_location": "L71", "weight": 1.0}], "raw_calls": []} |