1 line
38 KiB
JSON
1 line
38 KiB
JSON
{"nodes": [{"id": "$graphify-root$_email_server_models_py", "label": "models.py", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_models_domain", "label": "Domain", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L31", "_callable": true, "_callable_class": true}, {"id": "base", "label": "Base", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "$graphify-root$/email_server/models.py"}, {"id": "$graphify-root$_email_server_models_domain_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L46", "_callable": true}, {"id": "$graphify-root$_email_server_models_sender", "label": "Sender", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L49", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_sender_can_send_as", "label": ".can_send_as()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L68", "_callable": true}, {"id": "$graphify-root$_email_server_models_sender_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L87", "_callable": true}, {"id": "$graphify-root$_email_server_models_whitelistedip", "label": "WhitelistedIP", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L90", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "label": ".can_send_for_domain()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L106", "_callable": true}, {"id": "$graphify-root$_email_server_models_whitelistedip_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L130", "_callable": true}, {"id": "$graphify-root$_email_server_models_emaillog", "label": "EmailLog", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L133", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_emaillog_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L156", "_callable": true}, {"id": "$graphify-root$_email_server_models_emailrecipientlog", "label": "EmailRecipientLog", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L159", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_emailrecipientlog_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L174", "_callable": true}, {"id": "$graphify-root$_email_server_models_authlog", "label": "AuthLog", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L177", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_authlog_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L189", "_callable": true}, {"id": "$graphify-root$_email_server_models_dkimkey", "label": "DKIMKey", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L192", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_dkimkey_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L205", "_callable": true}, {"id": "$graphify-root$_email_server_models_customheader", "label": "CustomHeader", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L208", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_customheader_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L219", "_callable": true}, {"id": "$graphify-root$_email_server_models_emailattachment", "label": "EmailAttachment", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L222", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_email_server_models_emailattachment_repr", "label": ".__repr__()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L236", "_callable": true}, {"id": "$graphify-root$_email_server_models_create_tables", "label": "create_tables()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L240", "_callable": true}, {"id": "$graphify-root$_email_server_models_hash_password", "label": "hash_password()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L245", "_callable": true}, {"id": "$graphify-root$_email_server_models_check_password", "label": "check_password()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L249", "_callable": true}, {"id": "$graphify-root$_email_server_models_log_auth_attempt", "label": "log_auth_attempt()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L253", "_callable": true}, {"id": "$graphify-root$_email_server_models_log_email", "label": "log_email()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L283", "_callable": true}, {"id": "$graphify-root$_email_server_models_get_sender_by_email", "label": "get_sender_by_email()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L313", "_callable": true}, {"id": "$graphify-root$_email_server_models_get_domain_by_name", "label": "get_domain_by_name()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L321", "_callable": true}, {"id": "$graphify-root$_email_server_models_get_whitelisted_ip", "label": "get_whitelisted_ip()", "file_type": "code", "source_file": "email_server/models.py", "source_location": "L329", "_callable": true}, {"id": "$graphify-root$_email_server_models_rationale_1", "label": "Database models for the SMTP server using ESRV schema. Enhanced security\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L1"}, {"id": "$graphify-root$_email_server_models_rationale_32", "label": "Domain model with enhanced security features.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L32"}, {"id": "$graphify-root$_email_server_models_rationale_50", "label": "Sender model with enhanced authentication controls. Security features: -\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L50"}, {"id": "$graphify-root$_email_server_models_rationale_69", "label": "Check if this sender can send emails as the given from_address. Args:\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L69"}, {"id": "$graphify-root$_email_server_models_rationale_91", "label": "IP whitelist model with domain-specific authentication. Security feature: - IPs\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L91"}, {"id": "$graphify-root$_email_server_models_rationale_107", "label": "Check if this IP can send emails for the given domain. Args: domain_name: The\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L107"}, {"id": "$graphify-root$_email_server_models_rationale_134", "label": "Email log model for tracking sent emails.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L134"}, {"id": "$graphify-root$_email_server_models_rationale_160", "label": "Log for each recipient of an email, including status and error details.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L160"}, {"id": "$graphify-root$_email_server_models_rationale_178", "label": "Authentication log model for security auditing.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L178"}, {"id": "$graphify-root$_email_server_models_rationale_193", "label": "DKIM key model for email signing.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L193"}, {"id": "$graphify-root$_email_server_models_rationale_209", "label": "Custom header model for domain-specific email headers.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L209"}, {"id": "$graphify-root$_email_server_models_rationale_223", "label": "Attachment metadata and file path, linked to EmailLog.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L223"}, {"id": "$graphify-root$_email_server_models_rationale_241", "label": "Create all database tables using ESRV schema.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L241"}, {"id": "$graphify-root$_email_server_models_rationale_246", "label": "Hash a password using bcrypt.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L246"}, {"id": "$graphify-root$_email_server_models_rationale_250", "label": "Check a password against its hash.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L250"}, {"id": "$graphify-root$_email_server_models_rationale_255", "label": "Log an authentication attempt for security auditing. Args: auth_type: Type of\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L255"}, {"id": "$graphify-root$_email_server_models_rationale_285", "label": "Log an email send attempt. Args: from_address: Sender email to_address:\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L285"}, {"id": "$graphify-root$_email_server_models_rationale_314", "label": "Get sender by email address.", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L314"}, {"id": "$graphify-root$_email_server_models_rationale_330", "label": "Get whitelisted IP, optionally filtered by domain. Args: ip_address: IP address\u2026", "file_type": "rationale", "source_file": "email_server/models.py", "source_location": "L330"}], "edges": [{"source": "$graphify-root$_email_server_models_py", "target": "sqlalchemy", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "sqlalchemy_orm", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "sqlalchemy_sql", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L12", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "datetime", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "bcrypt", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L14", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "email_server_settings_loader", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L15", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "email_server_tool_box", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L16", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_domain", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L31", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_domain", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L31", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_domain", "target": "$graphify-root$_email_server_models_domain_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L46", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_sender", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L49", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_sender", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L49", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_sender", "target": "$graphify-root$_email_server_models_sender_can_send_as", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L68", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_sender", "target": "$graphify-root$_email_server_models_sender_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L87", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_whitelistedip", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L90", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_whitelistedip", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L90", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_whitelistedip", "target": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L106", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_whitelistedip", "target": "$graphify-root$_email_server_models_whitelistedip_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L130", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_emaillog", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L133", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_emaillog", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L133", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_emaillog", "target": "$graphify-root$_email_server_models_emaillog_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L156", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_emailrecipientlog", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L159", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_emailrecipientlog", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L159", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_emailrecipientlog", "target": "$graphify-root$_email_server_models_emailrecipientlog_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L174", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_authlog", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L177", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_authlog", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L177", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_authlog", "target": "$graphify-root$_email_server_models_authlog_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L189", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_dkimkey", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L192", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_dkimkey", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L192", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_dkimkey", "target": "$graphify-root$_email_server_models_dkimkey_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L205", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_customheader", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L208", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_customheader", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L208", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_customheader", "target": "$graphify-root$_email_server_models_customheader_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L219", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_emailattachment", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L222", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_emailattachment", "target": "base", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L222", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_emailattachment", "target": "$graphify-root$_email_server_models_emailattachment_repr", "relation": "method", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L236", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_create_tables", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L240", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_hash_password", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L245", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_check_password", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L249", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_log_auth_attempt", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L253", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_log_email", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L283", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_get_sender_by_email", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L313", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_get_domain_by_name", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L321", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_py", "target": "$graphify-root$_email_server_models_get_whitelisted_ip", "relation": "contains", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L329", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_log_auth_attempt", "target": "$graphify-root$_email_server_models_authlog", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L267", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_log_email", "target": "$graphify-root$_email_server_models_emaillog", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L297", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_1", "target": "$graphify-root$_email_server_models_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_32", "target": "$graphify-root$_email_server_models_domain", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L32", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_50", "target": "$graphify-root$_email_server_models_sender", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_69", "target": "$graphify-root$_email_server_models_sender_can_send_as", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L69", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_91", "target": "$graphify-root$_email_server_models_whitelistedip", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L91", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_107", "target": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L107", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_134", "target": "$graphify-root$_email_server_models_emaillog", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L134", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_160", "target": "$graphify-root$_email_server_models_emailrecipientlog", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L160", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_178", "target": "$graphify-root$_email_server_models_authlog", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L178", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_193", "target": "$graphify-root$_email_server_models_dkimkey", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L193", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_209", "target": "$graphify-root$_email_server_models_customheader", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L209", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_223", "target": "$graphify-root$_email_server_models_emailattachment", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L223", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_241", "target": "$graphify-root$_email_server_models_create_tables", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L241", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_246", "target": "$graphify-root$_email_server_models_hash_password", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L246", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_250", "target": "$graphify-root$_email_server_models_check_password", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L250", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_255", "target": "$graphify-root$_email_server_models_log_auth_attempt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L255", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_285", "target": "$graphify-root$_email_server_models_log_email", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L285", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_314", "target": "$graphify-root$_email_server_models_get_sender_by_email", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L314", "weight": 1.0}, {"source": "$graphify-root$_email_server_models_rationale_330", "target": "$graphify-root$_email_server_models_get_whitelisted_ip", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "email_server/models.py", "source_location": "L330", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_email_server_models_sender_can_send_as", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L78", "receiver": "from_address"}, {"caller_nid": "$graphify-root$_email_server_models_sender_can_send_as", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L78", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_sender_can_send_as", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L82", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_sender_can_send_as", "callee": "split", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L82", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_sender_can_send_as", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L83", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_sender_can_send_as", "callee": "split", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L83", "receiver": "from_address"}, {"caller_nid": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "callee": "Session", "is_member_call": false, "source_file": "email_server/models.py", "source_location": "L120", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "callee": "first", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L122", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "callee": "filter_by", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L122", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "callee": "query", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L122", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L123", "receiver": "domain_name"}, {"caller_nid": "$graphify-root$_email_server_models_whitelistedip_can_send_for_domain", "callee": "close", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L128", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_create_tables", "callee": "create_all", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L242", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_create_tables", "callee": "engine", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "email_server/models.py", "source_location": "L242"}, {"caller_nid": "$graphify-root$_email_server_models_create_tables", "callee": "info", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L243", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_models_hash_password", "callee": "decode", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L247", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_hash_password", "callee": "hashpw", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L247", "receiver": "bcrypt"}, {"caller_nid": "$graphify-root$_email_server_models_hash_password", "callee": "encode", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L247", "receiver": "password"}, {"caller_nid": "$graphify-root$_email_server_models_hash_password", "callee": "gensalt", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L247", "receiver": "bcrypt"}, {"caller_nid": "$graphify-root$_email_server_models_check_password", "callee": "checkpw", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L251", "receiver": "bcrypt"}, {"caller_nid": "$graphify-root$_email_server_models_check_password", "callee": "encode", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L251", "receiver": "password"}, {"caller_nid": "$graphify-root$_email_server_models_check_password", "callee": "encode", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L251", "receiver": "hashed"}, {"caller_nid": "$graphify-root$_email_server_models_log_auth_attempt", "callee": "Session", "is_member_call": false, "source_file": "email_server/models.py", "source_location": "L265", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_log_auth_attempt", "callee": "add", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L274", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_log_auth_attempt", "callee": "commit", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L275", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_log_auth_attempt", "callee": "info", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L276", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_models_log_auth_attempt", "callee": "rollback", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L278", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_log_auth_attempt", "callee": "error", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L279", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_models_log_auth_attempt", "callee": "close", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L281", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_log_email", "callee": "Session", "is_member_call": false, "source_file": "email_server/models.py", "source_location": "L295", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_log_email", "callee": "add", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L304", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_log_email", "callee": "commit", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L305", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_log_email", "callee": "info", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L306", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_models_log_email", "callee": "rollback", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L308", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_log_email", "callee": "error", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L309", "receiver": "logger"}, {"caller_nid": "$graphify-root$_email_server_models_log_email", "callee": "close", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L311", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_get_sender_by_email", "callee": "Session", "is_member_call": false, "source_file": "email_server/models.py", "source_location": "L315", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_sender_by_email", "callee": "first", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L317", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_sender_by_email", "callee": "filter_by", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L317", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_sender_by_email", "callee": "query", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L317", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_get_sender_by_email", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L317", "receiver": "email"}, {"caller_nid": "$graphify-root$_email_server_models_get_sender_by_email", "callee": "close", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L319", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_get_domain_by_name", "callee": "Session", "is_member_call": false, "source_file": "email_server/models.py", "source_location": "L323", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_domain_by_name", "callee": "first", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L325", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_domain_by_name", "callee": "filter_by", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L325", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_domain_by_name", "callee": "query", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L325", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_get_domain_by_name", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L325", "receiver": "domain_name"}, {"caller_nid": "$graphify-root$_email_server_models_get_domain_by_name", "callee": "close", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L327", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "Session", "is_member_call": false, "source_file": "email_server/models.py", "source_location": "L340", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "filter_by", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L342", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "query", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L342", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "first", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L349", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "filter_by", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L349", "receiver": null}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "query", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L349", "receiver": "session"}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "lower", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L350", "receiver": "domain_name"}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "filter_by", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L355", "receiver": "query"}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "first", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L357", "receiver": "query"}, {"caller_nid": "$graphify-root$_email_server_models_get_whitelisted_ip", "callee": "close", "is_member_call": true, "source_file": "email_server/models.py", "source_location": "L359", "receiver": "session"}]} |