1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"nodes": [{"id": "backend_routers_users_py", "label": "users.py", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L1"}, {"id": "users_get_db", "label": "get_db()", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L11"}, {"id": "users_get_password_hash", "label": "get_password_hash()", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L18"}, {"id": "users_verify_password", "label": "verify_password()", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L21"}, {"id": "users_get_users", "label": "get_users()", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L27"}, {"id": "users_create_user", "label": "create_user()", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L49"}, {"id": "users_update_user", "label": "update_user()", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L67"}, {"id": "users_delete_user", "label": "delete_user()", "file_type": "code", "source_file": "backend/routers/users.py", "source_location": "L99"}, {"id": "users_rationale_28", "label": "[C-01] User list \u2014 public endpoint for login page to enumerate local users.", "file_type": "rationale", "source_file": "backend/routers/users.py", "source_location": "L28"}, {"id": "users_rationale_54", "label": "[C-01] Create user \u2014 admin only.", "file_type": "rationale", "source_file": "backend/routers/users.py", "source_location": "L54"}, {"id": "users_rationale_73", "label": "[C-01] Update user \u2014 admin only.", "file_type": "rationale", "source_file": "backend/routers/users.py", "source_location": "L73"}, {"id": "users_rationale_104", "label": "[C-01] Delete user \u2014 admin only.", "file_type": "rationale", "source_file": "backend/routers/users.py", "source_location": "L104"}], "edges": [{"source": "backend_routers_users_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "passlib_context", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "backend_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "backend_logger_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "users_get_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "users_get_password_hash", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "users_verify_password", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "users_get_users", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "users_create_user", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L49", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "users_update_user", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L67", "weight": 1.0}, {"source": "backend_routers_users_py", "target": "users_delete_user", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L99", "weight": 1.0}, {"source": "users_get_users", "target": "users_get_password_hash", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L39", "weight": 1.0}, {"source": "users_create_user", "target": "users_get_password_hash", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L59", "weight": 1.0}, {"source": "users_update_user", "target": "users_get_password_hash", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L89", "weight": 1.0}, {"source": "users_rationale_28", "target": "users_get_users", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L28", "weight": 1.0}, {"source": "users_rationale_54", "target": "users_create_user", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L54", "weight": 1.0}, {"source": "users_rationale_73", "target": "users_update_user", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L73", "weight": 1.0}, {"source": "users_rationale_104", "target": "users_delete_user", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/users.py", "source_location": "L104", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_get_db", "callee": "SessionLocal", "source_file": "backend/routers/users.py", "source_location": "L12"}, {"caller_nid": "users_get_db", "callee": "close", "source_file": "backend/routers/users.py", "source_location": "L16"}, {"caller_nid": "users_get_password_hash", "callee": "hash", "source_file": "backend/routers/users.py", "source_location": "L19"}, {"caller_nid": "users_verify_password", "callee": "verify", "source_file": "backend/routers/users.py", "source_location": "L23"}, {"caller_nid": "users_get_users", "callee": "all", "source_file": "backend/routers/users.py", "source_location": "L29"}, {"caller_nid": "users_get_users", "callee": "query", "source_file": "backend/routers/users.py", "source_location": "L29"}, {"caller_nid": "users_get_users", "callee": "User", "source_file": "backend/routers/users.py", "source_location": "L35"}, {"caller_nid": "users_get_users", "callee": "add", "source_file": "backend/routers/users.py", "source_location": "L41"}, {"caller_nid": "users_get_users", "callee": "commit", "source_file": "backend/routers/users.py", "source_location": "L42"}, {"caller_nid": "users_get_users", "callee": "refresh", "source_file": "backend/routers/users.py", "source_location": "L43"}, {"caller_nid": "users_get_users", "callee": "warning", "source_file": "backend/routers/users.py", "source_location": "L44"}, {"caller_nid": "users_create_user", "callee": "first", "source_file": "backend/routers/users.py", "source_location": "L55"}, {"caller_nid": "users_create_user", "callee": "filter", "source_file": "backend/routers/users.py", "source_location": "L55"}, {"caller_nid": "users_create_user", "callee": "query", "source_file": "backend/routers/users.py", "source_location": "L55"}, {"caller_nid": "users_create_user", "callee": "HTTPException", "source_file": "backend/routers/users.py", "source_location": "L57"}, {"caller_nid": "users_create_user", "callee": "User", "source_file": "backend/routers/users.py", "source_location": "L60"}, {"caller_nid": "users_create_user", "callee": "add", "source_file": "backend/routers/users.py", "source_location": "L61"}, {"caller_nid": "users_create_user", "callee": "commit", "source_file": "backend/routers/users.py", "source_location": "L62"}, {"caller_nid": "users_create_user", "callee": "refresh", "source_file": "backend/routers/users.py", "source_location": "L63"}, {"caller_nid": "users_update_user", "callee": "first", "source_file": "backend/routers/users.py", "source_location": "L74"}, {"caller_nid": "users_update_user", "callee": "filter", "source_file": "backend/routers/users.py", "source_location": "L74"}, {"caller_nid": "users_update_user", "callee": "query", "source_file": "backend/routers/users.py", "source_location": "L74"}, {"caller_nid": "users_update_user", "callee": "HTTPException", "source_file": "backend/routers/users.py", "source_location": "L76"}, {"caller_nid": "users_update_user", "callee": "HTTPException", "source_file": "backend/routers/users.py", "source_location": "L79"}, {"caller_nid": "users_update_user", "callee": "first", "source_file": "backend/routers/users.py", "source_location": "L83"}, {"caller_nid": "users_update_user", "callee": "filter", "source_file": "backend/routers/users.py", "source_location": "L83"}, {"caller_nid": "users_update_user", "callee": "query", "source_file": "backend/routers/users.py", "source_location": "L83"}, {"caller_nid": "users_update_user", "callee": "HTTPException", "source_file": "backend/routers/users.py", "source_location": "L85"}, {"caller_nid": "users_update_user", "callee": "commit", "source_file": "backend/routers/users.py", "source_location": "L94"}, {"caller_nid": "users_update_user", "callee": "refresh", "source_file": "backend/routers/users.py", "source_location": "L95"}, {"caller_nid": "users_delete_user", "callee": "first", "source_file": "backend/routers/users.py", "source_location": "L105"}, {"caller_nid": "users_delete_user", "callee": "filter", "source_file": "backend/routers/users.py", "source_location": "L105"}, {"caller_nid": "users_delete_user", "callee": "query", "source_file": "backend/routers/users.py", "source_location": "L105"}, {"caller_nid": "users_delete_user", "callee": "HTTPException", "source_file": "backend/routers/users.py", "source_location": "L107"}, {"caller_nid": "users_delete_user", "callee": "HTTPException", "source_file": "backend/routers/users.py", "source_location": "L110"}, {"caller_nid": "users_delete_user", "callee": "delete", "source_file": "backend/routers/users.py", "source_location": "L113"}, {"caller_nid": "users_delete_user", "callee": "commit", "source_file": "backend/routers/users.py", "source_location": "L114"}, {"caller_nid": "users_delete_user", "callee": "info", "source_file": "backend/routers/users.py", "source_location": "L116"}]} |