1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "label": "health.py", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_healthresponse", "label": "HealthResponse", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L31", "_callable": true}, {"id": "basemodel", "label": "BaseModel", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/health.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readinessresponse", "label": "ReadinessResponse", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L35", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_health", "label": "health()", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L41", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "label": "_check_db()", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L45", "_callable": true}, {"id": "checkstatus", "label": "CheckStatus", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/health.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "label": "_check_redis()", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L56", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_ml", "label": "_check_ml()", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L66", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "label": "readiness()", "file_type": "code", "source_file": "app/api/health.py", "source_location": "L72", "_callable": true}, {"id": "response", "label": "Response", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/api/health.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_api_health_rationale_1", "label": "Health & readiness endpoints \u2014 used by compose healthchecks and the admin UI. *", "file_type": "rationale", "source_file": "app/api/health.py", "source_location": "L1"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "asyncio", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L10", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "fastapi", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L12", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "pydantic", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L13", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L14", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "app_core_config", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "app_core_logging", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L17", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "app_infrastructure_cache", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L18", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "app_infrastructure_db", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L19", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_healthresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L31", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_healthresponse", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L31", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readinessresponse", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L35", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readinessresponse", "target": "basemodel", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L35", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_health", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L41", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_health", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_healthresponse", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L41", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "target": "checkstatus", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L56", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "target": "checkstatus", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L56", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_ml", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_ml", "target": "checkstatus", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L72", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "target": "response", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L72", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readinessresponse", "relation": "references", "context": "return_type", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L72", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_health", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_healthresponse", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L42", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L73", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L73", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_ml", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L73", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readinessresponse", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L80", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_api_health_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_api_health_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/api/health.py", "source_location": "L1", "weight": 1.0}], "raw_calls": [{"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "timeout", "is_member_call": true, "source_file": "app/api/health.py", "source_location": "L47", "receiver": "asyncio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "CHECK_TIMEOUT_SECONDS", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/health.py", "source_location": "L47"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "get_sessionmaker()", "is_member_call": false, "source_file": "app/api/health.py", "source_location": "L48", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "get_sessionmaker", "is_member_call": false, "source_file": "app/api/health.py", "source_location": "L48", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "execute", "is_member_call": true, "source_file": "app/api/health.py", "source_location": "L49", "receiver": "session"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "text", "is_member_call": false, "source_file": "app/api/health.py", "source_location": "L49", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "warning", "is_member_call": true, "source_file": "app/api/health.py", "source_location": "L52", "receiver": "log"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_db", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/health.py", "source_location": "L52"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "callee": "timeout", "is_member_call": true, "source_file": "app/api/health.py", "source_location": "L58", "receiver": "asyncio"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "callee": "CHECK_TIMEOUT_SECONDS", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/health.py", "source_location": "L58"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "callee": "ping", "is_member_call": true, "source_file": "app/api/health.py", "source_location": "L59", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "callee": "get_redis", "is_member_call": false, "source_file": "app/api/health.py", "source_location": "L59", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "callee": "warning", "is_member_call": true, "source_file": "app/api/health.py", "source_location": "L62", "receiver": "log"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_redis", "callee": "exc", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "app/api/health.py", "source_location": "L62"}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_check_ml", "callee": "get_settings", "is_member_call": false, "source_file": "app/api/health.py", "source_location": "L68", "receiver": null}, {"caller_nid": "users_senko_work_mcma_compose_mcma_backend_app_api_health_readiness", "callee": "gather", "is_member_call": true, "source_file": "app/api/health.py", "source_location": "L73", "receiver": "asyncio"}]} |