{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_py", "label": "redis.py", "file_type": "code", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_get_redis", "label": "get_redis()", "file_type": "code", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L10", "_callable": true}, {"id": "redis", "label": "Redis", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/infrastructure/cache/redis.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_close_redis", "label": "close_redis()", "file_type": "code", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L22", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_rationale_1", "label": "Redis client provider \u2014 a single shared async connection pool.", "file_type": "rationale", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_rationale_11", "label": "Return the process-wide Redis client (created on first use).", "file_type": "rationale", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L11"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_py", "target": "redis_asyncio", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L3", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L5", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_get_redis", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_get_redis", "target": "redis", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_close_redis", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L22", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L1", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_rationale_11", "target": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_get_redis", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/infrastructure/cache/redis.py", "source_location": "L11", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_get_redis", "callee": "from_url", "is_member_call": true, "source_file": "app/infrastructure/cache/redis.py", "source_location": "L14", "receiver": "Redis"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_get_redis", "callee": "get_settings", "is_member_call": false, "source_file": "app/infrastructure/cache/redis.py", "source_location": "L15", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_infrastructure_cache_redis_close_redis", "callee": "aclose", "is_member_call": true, "source_file": "app/infrastructure/cache/redis.py", "source_location": "L25", "receiver": "_client"}]}