{"nodes": [{"id": "$graphify-root$_backend_app_core_database_cache_manager_py", "label": "cache_manager.py", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L1"}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "label": "MemoryCache", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L8", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_init", "label": ".__init__()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L10", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_get", "label": ".get()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L14", "_callable": true}, {"id": "any", "label": "Any", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/Backend/app/core/database/cache_manager.py"}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_set", "label": ".set()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L24", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_delete", "label": ".delete()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L32", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_invalidate_prefix", "label": ".invalidate_prefix()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L37", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_clear", "label": ".clear()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L43", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "label": "CacheManager", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L47", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_init", "label": ".__init__()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L49", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "label": "._try_init_redis()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L54", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_get", "label": ".get()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L73", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_set", "label": ".set()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L84", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_delete", "label": ".delete()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L95", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_invalidate_prefix", "label": ".invalidate_prefix()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L103", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_clear", "label": ".clear()", "file_type": "code", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L113", "_callable": true}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_rationale_9", "label": "Thread-safe in-process memory cache with TTL (Time To Live).", "file_type": "rationale", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L9"}, {"id": "$graphify-root$_backend_app_core_database_cache_manager_rationale_48", "label": "Consolidated cache interface with Redis connection fallback.", "file_type": "rationale", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L48"}], "edges": [{"source": "$graphify-root$_backend_app_core_database_cache_manager_py", "target": "time", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_py", "target": "logging", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L2", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_py", "target": "threading", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L3", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L4", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_py", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "relation": "contains", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_get", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_set", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_set", "target": "any", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L24", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_delete", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L32", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_invalidate_prefix", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L37", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_clear", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L43", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_py", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "relation": "contains", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L47", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L49", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L54", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L73", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_get", "target": "any", "relation": "references", "context": "generic_arg", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L73", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_set", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L84", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_set", "target": "any", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L84", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_delete", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L95", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_invalidate_prefix", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L103", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_clear", "relation": "method", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L113", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_get", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_get", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_clear", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_clear", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L45", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_init", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_init", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L52", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_invalidate_prefix", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_delete", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L108", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_rationale_9", "target": "$graphify-root$_backend_app_core_database_cache_manager_memorycache", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_backend_app_core_database_cache_manager_rationale_48", "target": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L48", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_init", "callee": "Lock", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L12", "receiver": "threading"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_get", "callee": "time", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L19", "receiver": "time"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_set", "callee": "time", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L25", "receiver": "time"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_invalidate_prefix", "callee": "keys", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L39", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_memorycache_invalidate_prefix", "callee": "startswith", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L39", "receiver": "k"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "callee": "getenv", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L58", "receiver": "os"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "callee": "getenv", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L59", "receiver": "os"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "callee": "Redis", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L60", "receiver": "redis"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "callee": "ping", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L67", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "callee": "info", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L68", "receiver": "logger"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_try_init_redis", "callee": "warning", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L71", "receiver": "logger"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_get", "callee": "loads", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L79", "receiver": "json"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_get", "callee": "decode", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L79", "receiver": "data"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_get", "callee": "error", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L81", "receiver": "logger"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_set", "callee": "dumps", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L88", "receiver": "json"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_set", "callee": "error", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L92", "receiver": "logger"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_delete", "callee": "error", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L100", "receiver": "logger"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_invalidate_prefix", "callee": "keys", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L106", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_invalidate_prefix", "callee": "error", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L110", "receiver": "logger"}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_clear", "callee": "flushdb", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L116", "receiver": null}, {"caller_nid": "$graphify-root$_backend_app_core_database_cache_manager_cachemanager_clear", "callee": "error", "is_member_call": true, "source_file": "Backend/app/core/database/cache_manager.py", "source_location": "L118", "receiver": "logger"}]}