| 1 |
- {"nodes": [{"id": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "label": "redis_client.py", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L1"}, {"id": "core_redis_client_redis_enabled", "label": "redis_enabled()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L15"}, {"id": "core_redis_client_redis_common_kwargs", "label": "_redis_common_kwargs()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L19"}, {"id": "core_redis_client_get_sync_redis_client", "label": "get_sync_redis_client()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L32"}, {"id": "core_redis_client_get_redis_client", "label": "get_redis_client()", "file_type": "code", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L45"}, {"id": "core_redis_client_rationale_1", "label": "\u5171\u4eab Redis \u5ba2\u6237\u7aef\uff08\u540c\u6b65\uff1a\u4f1a\u8bdd\u9274\u6743\uff1b\u5f02\u6b65\uff1aAPI \u52a0\u5bc6 nonce\uff09\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L1"}, {"id": "core_redis_client_rationale_33", "label": "\u540c\u6b65 Redis\uff08auth \u4f1a\u8bdd\u7b49\uff0c\u5728\u7ebf\u7a0b\u6c60\u4e2d\u8c03\u7528\uff09\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L33"}, {"id": "core_redis_client_rationale_46", "label": "\u5f02\u6b65 Redis\uff08API \u52a0\u5bc6 nonce \u7b49\u4e2d\u95f4\u4ef6\uff09\u3002", "file_type": "rationale", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L46"}], "edges": [{"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L4", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "redis", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L6", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "redis_asyncio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L7", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L9", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "core_redis_client_redis_enabled", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L15", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "core_redis_client_redis_common_kwargs", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L19", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "core_redis_client_get_sync_redis_client", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L32", "weight": 1.0}, {"source": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "target": "core_redis_client_get_redis_client", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L45", "weight": 1.0}, {"source": "core_redis_client_get_sync_redis_client", "target": "core_redis_client_redis_enabled", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L35", "weight": 1.0}, {"source": "core_redis_client_get_sync_redis_client", "target": "core_redis_client_redis_common_kwargs", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L39", "weight": 1.0}, {"source": "core_redis_client_get_redis_client", "target": "core_redis_client_redis_enabled", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L48", "weight": 1.0}, {"source": "core_redis_client_get_redis_client", "target": "core_redis_client_redis_common_kwargs", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L52", "weight": 1.0}, {"source": "core_redis_client_rationale_1", "target": "users_zlwu_work_00code_shanxia2_0_backend_app_core_redis_client_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L1", "weight": 1.0}, {"source": "core_redis_client_rationale_33", "target": "core_redis_client_get_sync_redis_client", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L33", "weight": 1.0}, {"source": "core_redis_client_rationale_46", "target": "core_redis_client_get_redis_client", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L46", "weight": 1.0}], "raw_calls": [{"caller_nid": "core_redis_client_redis_enabled", "callee": "bool", "is_member_call": false, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L16"}, {"caller_nid": "core_redis_client_get_sync_redis_client", "callee": "Redis", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L38"}, {"caller_nid": "core_redis_client_get_redis_client", "callee": "Redis", "is_member_call": true, "source_file": "/Users/zlwu/work/00code/shanxia2.0/backend/app/core/redis_client.py", "source_location": "L51"}]}
|