{"nodes": [{"id": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_data_adapters_registry_py", "label": "_registry.py", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L1"}, {"id": "registry_get_adapter", "label": "get_adapter()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L6"}, {"id": "registry_register_adapter", "label": "register_adapter()", "file_type": "code", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L23"}, {"id": "registry_rationale_1", "label": "Registry: lazy-loads data adapter instances per env.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L1"}, {"id": "registry_rationale_7", "label": "Return a data adapter by short name. Cached per request via env.context.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L7"}, {"id": "registry_rationale_24", "label": "Register an adapter class. Call from each adapter module at import time.", "file_type": "rationale", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L24"}], "edges": [{"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_data_adapters_registry_py", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_data_adapters_base_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L3", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_data_adapters_registry_py", "target": "registry_get_adapter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L6", "weight": 1.0}, {"source": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_data_adapters_registry_py", "target": "registry_register_adapter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L23", "weight": 1.0}, {"source": "registry_rationale_1", "target": "users_gurpreet_github_odoo_modules_fusion_accounting_ai_services_data_adapters_registry_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L1", "weight": 1.0}, {"source": "registry_rationale_7", "target": "registry_get_adapter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L7", "weight": 1.0}, {"source": "registry_rationale_24", "target": "registry_register_adapter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L24", "weight": 1.0}], "raw_calls": [{"caller_nid": "registry_get_adapter", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L8"}, {"caller_nid": "registry_get_adapter", "callee": "get", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L12"}, {"caller_nid": "registry_get_adapter", "callee": "KeyError", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L14"}, {"caller_nid": "registry_get_adapter", "callee": "list", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L14"}, {"caller_nid": "registry_get_adapter", "callee": "cls", "source_file": "/Users/gurpreet/Github/Odoo-Modules/fusion_accounting_ai/services/data_adapters/_registry.py", "source_location": "L15"}]}