Files
mailgoserver/graphify-out/cache/ast/v0.9.37/e435f54e2eb7b2b07ba12b6671ce4ca682cea39731566f3b95e60aaa99f03969.json
T
2026-08-12 12:56:22 +01:00

1 line
12 KiB
JSON

{"nodes": [{"id": "$graphify-root$_email_server_tool_box_py", "label": "tool_box.py", "file_type": "code", "source_file": "email_server/tool_box.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_tool_box_ensure_folder_exists", "label": "ensure_folder_exists()", "file_type": "code", "source_file": "email_server/tool_box.py", "source_location": "L16", "_callable": true}, {"id": "$graphify-root$_email_server_tool_box_setup_logging", "label": "setup_logging()", "file_type": "code", "source_file": "email_server/tool_box.py", "source_location": "L26", "_callable": true}, {"id": "$graphify-root$_email_server_tool_box_get_logger", "label": "get_logger()", "file_type": "code", "source_file": "email_server/tool_box.py", "source_location": "L45", "_callable": true}, {"id": "$graphify-root$_email_server_tool_box_get_current_time", "label": "get_current_time()", "file_type": "code", "source_file": "email_server/tool_box.py", "source_location": "L66", "_callable": true}, {"id": "$graphify-root$_email_server_tool_box_generate_message_id", "label": "generate_message_id()", "file_type": "code", "source_file": "email_server/tool_box.py", "source_location": "L71", "_callable": true}, {"id": "$graphify-root$_email_server_tool_box_rationale_1", "label": "Utility functions for the email server.", "file_type": "rationale", "source_file": "email_server/tool_box.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_tool_box_rationale_17", "label": "Ensure that the folder for the given filepath exists.", "file_type": "rationale", "source_file": "email_server/tool_box.py", "source_location": "L17"}, {"id": "$graphify-root$_email_server_tool_box_rationale_27", "label": "Set up global logging configuration using settings.ini. Should be called once\u2026", "file_type": "rationale", "source_file": "email_server/tool_box.py", "source_location": "L27"}, {"id": "$graphify-root$_email_server_tool_box_rationale_46", "label": "Get a logger with the given name (default: module name). Ensures logging is set\u2026", "file_type": "rationale", "source_file": "email_server/tool_box.py", "source_location": "L46"}, {"id": "$graphify-root$_email_server_tool_box_rationale_67", "label": "Get current time with timezone from settings.", "file_type": "rationale", "source_file": "email_server/tool_box.py", "source_location": "L67"}, {"id": "$graphify-root$_email_server_tool_box_rationale_72", "label": "Generate a consistent Message-ID for both email headers and database storage.\u2026", "file_type": "rationale", "source_file": "email_server/tool_box.py", "source_location": "L72"}], "edges": [{"source": "$graphify-root$_email_server_tool_box_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L5", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "logging", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "email_server_settings_loader", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L7", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L8", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "pytz", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L9", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "time", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "random", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "$graphify-root$_email_server_tool_box_ensure_folder_exists", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "$graphify-root$_email_server_tool_box_setup_logging", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L26", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "$graphify-root$_email_server_tool_box_get_logger", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L45", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "$graphify-root$_email_server_tool_box_get_current_time", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L66", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_py", "target": "$graphify-root$_email_server_tool_box_generate_message_id", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L71", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_get_logger", "target": "$graphify-root$_email_server_tool_box_setup_logging", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_rationale_1", "target": "$graphify-root$_email_server_tool_box_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_rationale_17", "target": "$graphify-root$_email_server_tool_box_ensure_folder_exists", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L17", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_rationale_27", "target": "$graphify-root$_email_server_tool_box_setup_logging", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_rationale_46", "target": "$graphify-root$_email_server_tool_box_get_logger", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L46", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_rationale_67", "target": "$graphify-root$_email_server_tool_box_get_current_time", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L67", "weight": 1.0}, {"source": "$graphify-root$_email_server_tool_box_rationale_72", "target": "$graphify-root$_email_server_tool_box_generate_message_id", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/tool_box.py", "source_location": "L72", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_email_server_tool_box_ensure_folder_exists", "callee": "startswith", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L20", "receiver": "filepath"}, {"caller_nid": "$graphify-root$_email_server_tool_box_ensure_folder_exists", "callee": "replace", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L21", "receiver": "filepath"}, {"caller_nid": "$graphify-root$_email_server_tool_box_ensure_folder_exists", "callee": "makedirs", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L22", "receiver": "os"}, {"caller_nid": "$graphify-root$_email_server_tool_box_ensure_folder_exists", "callee": "dirname", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L22", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "logging", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/tool_box.py", "source_location": "L32"}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "hasHandlers", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L34", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "getLogger", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L34", "receiver": "logging"}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "basicConfig", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L35", "receiver": "logging"}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "setLevel", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L37", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "getLogger", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L37", "receiver": "logging"}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "lower", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L40", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "get", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L40", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "setLevel", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L43", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_setup_logging", "callee": "getLogger", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L43", "receiver": "logging"}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_logger", "callee": "currentframe", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L54", "receiver": "inspect"}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_logger", "callee": "get", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L57", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_logger", "callee": "basename", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L59", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_logger", "callee": "splitext", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L60", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_logger", "callee": "getLogger", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L64", "receiver": "logging"}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_current_time", "callee": "timezone", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L68", "receiver": "pytz"}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_current_time", "callee": "get", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L68", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_get_current_time", "callee": "now", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L69", "receiver": "datetime"}, {"caller_nid": "$graphify-root$_email_server_tool_box_generate_message_id", "callee": "strftime", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L77", "receiver": "time"}, {"caller_nid": "$graphify-root$_email_server_tool_box_generate_message_id", "callee": "join", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L78", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_tool_box_generate_message_id", "callee": "randint", "is_member_call": true, "source_file": "email_server/tool_box.py", "source_location": "L78", "receiver": "random"}]}