1 line
9.0 KiB
JSON
1 line
9.0 KiB
JSON
{"nodes": [{"id": "backend_routers_categories_py", "label": "categories.py", "file_type": "code", "source_file": "backend/routers/categories.py", "source_location": "L1"}, {"id": "categories_get_db", "label": "get_db()", "file_type": "code", "source_file": "backend/routers/categories.py", "source_location": "L8"}, {"id": "categories_get_categories", "label": "get_categories()", "file_type": "code", "source_file": "backend/routers/categories.py", "source_location": "L16"}, {"id": "categories_create_category", "label": "create_category()", "file_type": "code", "source_file": "backend/routers/categories.py", "source_location": "L24"}, {"id": "categories_update_category", "label": "update_category()", "file_type": "code", "source_file": "backend/routers/categories.py", "source_location": "L41"}, {"id": "categories_delete_category", "label": "delete_category()", "file_type": "code", "source_file": "backend/routers/categories.py", "source_location": "L61"}, {"id": "categories_rationale_20", "label": "[C-01] List of categories \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/categories.py", "source_location": "L20"}, {"id": "categories_rationale_29", "label": "[C-01] Create category \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/categories.py", "source_location": "L29"}, {"id": "categories_rationale_47", "label": "[C-01] Update category \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/categories.py", "source_location": "L47"}, {"id": "categories_rationale_66", "label": "[C-01] Delete category \u2014 only for authenticated users.", "file_type": "rationale", "source_file": "backend/routers/categories.py", "source_location": "L66"}], "edges": [{"source": "backend_routers_categories_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "backend_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "categories_get_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "categories_get_categories", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L16", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "categories_create_category", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "categories_update_category", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L41", "weight": 1.0}, {"source": "backend_routers_categories_py", "target": "categories_delete_category", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L61", "weight": 1.0}, {"source": "categories_rationale_20", "target": "categories_get_categories", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L20", "weight": 1.0}, {"source": "categories_rationale_29", "target": "categories_create_category", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L29", "weight": 1.0}, {"source": "categories_rationale_47", "target": "categories_update_category", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L47", "weight": 1.0}, {"source": "categories_rationale_66", "target": "categories_delete_category", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/categories.py", "source_location": "L66", "weight": 1.0}], "raw_calls": [{"caller_nid": "categories_get_db", "callee": "SessionLocal", "source_file": "backend/routers/categories.py", "source_location": "L9"}, {"caller_nid": "categories_get_db", "callee": "close", "source_file": "backend/routers/categories.py", "source_location": "L13"}, {"caller_nid": "categories_get_categories", "callee": "all", "source_file": "backend/routers/categories.py", "source_location": "L21"}, {"caller_nid": "categories_get_categories", "callee": "query", "source_file": "backend/routers/categories.py", "source_location": "L21"}, {"caller_nid": "categories_create_category", "callee": "first", "source_file": "backend/routers/categories.py", "source_location": "L30"}, {"caller_nid": "categories_create_category", "callee": "filter", "source_file": "backend/routers/categories.py", "source_location": "L30"}, {"caller_nid": "categories_create_category", "callee": "query", "source_file": "backend/routers/categories.py", "source_location": "L30"}, {"caller_nid": "categories_create_category", "callee": "HTTPException", "source_file": "backend/routers/categories.py", "source_location": "L32"}, {"caller_nid": "categories_create_category", "callee": "Category", "source_file": "backend/routers/categories.py", "source_location": "L34"}, {"caller_nid": "categories_create_category", "callee": "model_dump", "source_file": "backend/routers/categories.py", "source_location": "L34"}, {"caller_nid": "categories_create_category", "callee": "add", "source_file": "backend/routers/categories.py", "source_location": "L35"}, {"caller_nid": "categories_create_category", "callee": "commit", "source_file": "backend/routers/categories.py", "source_location": "L36"}, {"caller_nid": "categories_create_category", "callee": "refresh", "source_file": "backend/routers/categories.py", "source_location": "L37"}, {"caller_nid": "categories_update_category", "callee": "first", "source_file": "backend/routers/categories.py", "source_location": "L48"}, {"caller_nid": "categories_update_category", "callee": "filter", "source_file": "backend/routers/categories.py", "source_location": "L48"}, {"caller_nid": "categories_update_category", "callee": "query", "source_file": "backend/routers/categories.py", "source_location": "L48"}, {"caller_nid": "categories_update_category", "callee": "HTTPException", "source_file": "backend/routers/categories.py", "source_location": "L50"}, {"caller_nid": "categories_update_category", "callee": "model_dump", "source_file": "backend/routers/categories.py", "source_location": "L52"}, {"caller_nid": "categories_update_category", "callee": "items", "source_file": "backend/routers/categories.py", "source_location": "L53"}, {"caller_nid": "categories_update_category", "callee": "setattr", "source_file": "backend/routers/categories.py", "source_location": "L54"}, {"caller_nid": "categories_update_category", "callee": "commit", "source_file": "backend/routers/categories.py", "source_location": "L56"}, {"caller_nid": "categories_update_category", "callee": "refresh", "source_file": "backend/routers/categories.py", "source_location": "L57"}, {"caller_nid": "categories_delete_category", "callee": "first", "source_file": "backend/routers/categories.py", "source_location": "L67"}, {"caller_nid": "categories_delete_category", "callee": "filter", "source_file": "backend/routers/categories.py", "source_location": "L67"}, {"caller_nid": "categories_delete_category", "callee": "query", "source_file": "backend/routers/categories.py", "source_location": "L67"}, {"caller_nid": "categories_delete_category", "callee": "HTTPException", "source_file": "backend/routers/categories.py", "source_location": "L69"}, {"caller_nid": "categories_delete_category", "callee": "count", "source_file": "backend/routers/categories.py", "source_location": "L72"}, {"caller_nid": "categories_delete_category", "callee": "filter", "source_file": "backend/routers/categories.py", "source_location": "L72"}, {"caller_nid": "categories_delete_category", "callee": "query", "source_file": "backend/routers/categories.py", "source_location": "L72"}, {"caller_nid": "categories_delete_category", "callee": "HTTPException", "source_file": "backend/routers/categories.py", "source_location": "L74"}, {"caller_nid": "categories_delete_category", "callee": "delete", "source_file": "backend/routers/categories.py", "source_location": "L76"}, {"caller_nid": "categories_delete_category", "callee": "commit", "source_file": "backend/routers/categories.py", "source_location": "L77"}]} |