Files
tfm_ainventory/graphify-out/cache/5bbbda31edb20d6df5102e9f9a21549a0397b9940557cf6d89981d43defc206f.json
2026-04-26 12:03:59 +03:00

1 line
15 KiB
JSON

{"nodes": [{"id": "backend_routers_admin_exports_py", "label": "exports.py", "file_type": "code", "source_file": "backend/routers/admin/exports.py", "source_location": "L1"}, {"id": "exports_validate_export_format", "label": "validate_export_format()", "file_type": "code", "source_file": "backend/routers/admin/exports.py", "source_location": "L23"}, {"id": "exports_export_inventory_snapshot", "label": "export_inventory_snapshot()", "file_type": "code", "source_file": "backend/routers/admin/exports.py", "source_location": "L34"}, {"id": "exports_export_audit_trail", "label": "export_audit_trail()", "file_type": "code", "source_file": "backend/routers/admin/exports.py", "source_location": "L87"}, {"id": "exports_export_db", "label": "export_db()", "file_type": "code", "source_file": "backend/routers/admin/exports.py", "source_location": "L139"}, {"id": "exports_rationale_1", "label": "Admin export endpoints for inventory snapshot and audit trail exports. Supports", "file_type": "rationale", "source_file": "backend/routers/admin/exports.py", "source_location": "L1"}, {"id": "exports_rationale_24", "label": "Validate and normalize export format.", "file_type": "rationale", "source_file": "backend/routers/admin/exports.py", "source_location": "L24"}, {"id": "exports_rationale_39", "label": "Export inventory snapshot in CSV or Excel format. Requires admin authorizat", "file_type": "rationale", "source_file": "backend/routers/admin/exports.py", "source_location": "L39"}, {"id": "exports_rationale_92", "label": "Export audit trail in CSV or Excel format. Requires admin authorization.", "file_type": "rationale", "source_file": "backend/routers/admin/exports.py", "source_location": "L92"}, {"id": "exports_rationale_145", "label": "Combined export endpoint for frontend. Supports inventory snapshot and audit", "file_type": "rationale", "source_file": "backend/routers/admin/exports.py", "source_location": "L145"}], "edges": [{"source": "backend_routers_admin_exports_py", "target": "datetime", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "fastapi", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "fastapi_responses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "sqlalchemy_orm", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "backend_database", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "backend_auth", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "backend_models", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "backend_services_export_service", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "exports_validate_export_format", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "exports_export_inventory_snapshot", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L34", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "exports_export_audit_trail", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L87", "weight": 1.0}, {"source": "backend_routers_admin_exports_py", "target": "exports_export_db", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L139", "weight": 1.0}, {"source": "exports_export_inventory_snapshot", "target": "exports_validate_export_format", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L45", "weight": 1.0}, {"source": "exports_export_audit_trail", "target": "exports_validate_export_format", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L98", "weight": 1.0}, {"source": "exports_export_db", "target": "exports_validate_export_format", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L157", "weight": 1.0}, {"source": "exports_rationale_1", "target": "backend_routers_admin_exports_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L1", "weight": 1.0}, {"source": "exports_rationale_24", "target": "exports_validate_export_format", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L24", "weight": 1.0}, {"source": "exports_rationale_39", "target": "exports_export_inventory_snapshot", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L39", "weight": 1.0}, {"source": "exports_rationale_92", "target": "exports_export_audit_trail", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L92", "weight": 1.0}, {"source": "exports_rationale_145", "target": "exports_export_db", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/routers/admin/exports.py", "source_location": "L145", "weight": 1.0}], "raw_calls": [{"caller_nid": "exports_validate_export_format", "callee": "lower", "source_file": "backend/routers/admin/exports.py", "source_location": "L25"}, {"caller_nid": "exports_validate_export_format", "callee": "HTTPException", "source_file": "backend/routers/admin/exports.py", "source_location": "L27"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "strftime", "source_file": "backend/routers/admin/exports.py", "source_location": "L46"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "now", "source_file": "backend/routers/admin/exports.py", "source_location": "L46"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "all", "source_file": "backend/routers/admin/exports.py", "source_location": "L49"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "query", "source_file": "backend/routers/admin/exports.py", "source_location": "L49"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "to_csv", "source_file": "backend/routers/admin/exports.py", "source_location": "L53"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "to_excel", "source_file": "backend/routers/admin/exports.py", "source_location": "L56"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "get_export_filename", "source_file": "backend/routers/admin/exports.py", "source_location": "L59"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "AuditLog", "source_file": "backend/routers/admin/exports.py", "source_location": "L63"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "add", "source_file": "backend/routers/admin/exports.py", "source_location": "L68"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "commit", "source_file": "backend/routers/admin/exports.py", "source_location": "L69"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "StreamingResponse", "source_file": "backend/routers/admin/exports.py", "source_location": "L73"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "BytesIO", "source_file": "backend/routers/admin/exports.py", "source_location": "L74"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "encode", "source_file": "backend/routers/admin/exports.py", "source_location": "L74"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "StreamingResponse", "source_file": "backend/routers/admin/exports.py", "source_location": "L79"}, {"caller_nid": "exports_export_inventory_snapshot", "callee": "BytesIO", "source_file": "backend/routers/admin/exports.py", "source_location": "L80"}, {"caller_nid": "exports_export_audit_trail", "callee": "strftime", "source_file": "backend/routers/admin/exports.py", "source_location": "L99"}, {"caller_nid": "exports_export_audit_trail", "callee": "now", "source_file": "backend/routers/admin/exports.py", "source_location": "L99"}, {"caller_nid": "exports_export_audit_trail", "callee": "all", "source_file": "backend/routers/admin/exports.py", "source_location": "L102"}, {"caller_nid": "exports_export_audit_trail", "callee": "query", "source_file": "backend/routers/admin/exports.py", "source_location": "L102"}, {"caller_nid": "exports_export_audit_trail", "callee": "to_csv", "source_file": "backend/routers/admin/exports.py", "source_location": "L106"}, {"caller_nid": "exports_export_audit_trail", "callee": "to_excel", "source_file": "backend/routers/admin/exports.py", "source_location": "L109"}, {"caller_nid": "exports_export_audit_trail", "callee": "get_export_filename", "source_file": "backend/routers/admin/exports.py", "source_location": "L112"}, {"caller_nid": "exports_export_audit_trail", "callee": "AuditLog", "source_file": "backend/routers/admin/exports.py", "source_location": "L115"}, {"caller_nid": "exports_export_audit_trail", "callee": "add", "source_file": "backend/routers/admin/exports.py", "source_location": "L120"}, {"caller_nid": "exports_export_audit_trail", "callee": "commit", "source_file": "backend/routers/admin/exports.py", "source_location": "L121"}, {"caller_nid": "exports_export_audit_trail", "callee": "StreamingResponse", "source_file": "backend/routers/admin/exports.py", "source_location": "L125"}, {"caller_nid": "exports_export_audit_trail", "callee": "BytesIO", "source_file": "backend/routers/admin/exports.py", "source_location": "L126"}, {"caller_nid": "exports_export_audit_trail", "callee": "encode", "source_file": "backend/routers/admin/exports.py", "source_location": "L126"}, {"caller_nid": "exports_export_audit_trail", "callee": "StreamingResponse", "source_file": "backend/routers/admin/exports.py", "source_location": "L131"}, {"caller_nid": "exports_export_audit_trail", "callee": "BytesIO", "source_file": "backend/routers/admin/exports.py", "source_location": "L132"}, {"caller_nid": "exports_export_db", "callee": "strftime", "source_file": "backend/routers/admin/exports.py", "source_location": "L158"}, {"caller_nid": "exports_export_db", "callee": "now", "source_file": "backend/routers/admin/exports.py", "source_location": "L158"}, {"caller_nid": "exports_export_db", "callee": "HTTPException", "source_file": "backend/routers/admin/exports.py", "source_location": "L161"}, {"caller_nid": "exports_export_db", "callee": "all", "source_file": "backend/routers/admin/exports.py", "source_location": "L173"}, {"caller_nid": "exports_export_db", "callee": "query", "source_file": "backend/routers/admin/exports.py", "source_location": "L173"}, {"caller_nid": "exports_export_db", "callee": "to_csv", "source_file": "backend/routers/admin/exports.py", "source_location": "L175"}, {"caller_nid": "exports_export_db", "callee": "to_excel", "source_file": "backend/routers/admin/exports.py", "source_location": "L178"}, {"caller_nid": "exports_export_db", "callee": "get_export_filename", "source_file": "backend/routers/admin/exports.py", "source_location": "L180"}, {"caller_nid": "exports_export_db", "callee": "all", "source_file": "backend/routers/admin/exports.py", "source_location": "L184"}, {"caller_nid": "exports_export_db", "callee": "query", "source_file": "backend/routers/admin/exports.py", "source_location": "L184"}, {"caller_nid": "exports_export_db", "callee": "to_csv", "source_file": "backend/routers/admin/exports.py", "source_location": "L186"}, {"caller_nid": "exports_export_db", "callee": "to_excel", "source_file": "backend/routers/admin/exports.py", "source_location": "L189"}, {"caller_nid": "exports_export_db", "callee": "get_export_filename", "source_file": "backend/routers/admin/exports.py", "source_location": "L191"}, {"caller_nid": "exports_export_db", "callee": "all", "source_file": "backend/routers/admin/exports.py", "source_location": "L195"}, {"caller_nid": "exports_export_db", "callee": "query", "source_file": "backend/routers/admin/exports.py", "source_location": "L195"}, {"caller_nid": "exports_export_db", "callee": "all", "source_file": "backend/routers/admin/exports.py", "source_location": "L196"}, {"caller_nid": "exports_export_db", "callee": "query", "source_file": "backend/routers/admin/exports.py", "source_location": "L196"}, {"caller_nid": "exports_export_db", "callee": "to_csv", "source_file": "backend/routers/admin/exports.py", "source_location": "L199"}, {"caller_nid": "exports_export_db", "callee": "to_csv", "source_file": "backend/routers/admin/exports.py", "source_location": "L200"}, {"caller_nid": "exports_export_db", "callee": "to_excel", "source_file": "backend/routers/admin/exports.py", "source_location": "L207"}, {"caller_nid": "exports_export_db", "callee": "get_export_filename", "source_file": "backend/routers/admin/exports.py", "source_location": "L210"}, {"caller_nid": "exports_export_db", "callee": "AuditLog", "source_file": "backend/routers/admin/exports.py", "source_location": "L213"}, {"caller_nid": "exports_export_db", "callee": "add", "source_file": "backend/routers/admin/exports.py", "source_location": "L218"}, {"caller_nid": "exports_export_db", "callee": "commit", "source_file": "backend/routers/admin/exports.py", "source_location": "L219"}, {"caller_nid": "exports_export_db", "callee": "StreamingResponse", "source_file": "backend/routers/admin/exports.py", "source_location": "L223"}, {"caller_nid": "exports_export_db", "callee": "BytesIO", "source_file": "backend/routers/admin/exports.py", "source_location": "L224"}, {"caller_nid": "exports_export_db", "callee": "encode", "source_file": "backend/routers/admin/exports.py", "source_location": "L224"}, {"caller_nid": "exports_export_db", "callee": "StreamingResponse", "source_file": "backend/routers/admin/exports.py", "source_location": "L229"}, {"caller_nid": "exports_export_db", "callee": "BytesIO", "source_file": "backend/routers/admin/exports.py", "source_location": "L230"}]}