Files
tfm_ainventory/graphify-out/cache/fd7ec8bd4bcf21c4fc725a20687ccbd265e0f2fd418053c5ca60a94a527b96ba.json

1 line
30 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_magic_init_py", "label": "__init__.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L1"}, {"id": "init_magicexception", "label": "MagicException", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L32"}, {"id": "exception", "label": "Exception", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "init_magicexception_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L33"}, {"id": "init_magic", "label": "Magic", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L38"}, {"id": "init_magic_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L43"}, {"id": "init_magic_from_buffer", "label": ".from_buffer()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L94"}, {"id": "init_magic_from_file", "label": ".from_file()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L110"}, {"id": "init_magic_from_descriptor", "label": ".from_descriptor()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L121"}, {"id": "init_magic_handle509bug", "label": "._handle509Bug()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L128"}, {"id": "init_magic_setparam", "label": ".setparam()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L137"}, {"id": "init_magic_getparam", "label": ".getparam()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L140"}, {"id": "init_magic_del", "label": ".__del__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L143"}, {"id": "init_get_magic_type", "label": "_get_magic_type()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L162"}, {"id": "init_from_file", "label": "from_file()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L169"}, {"id": "init_from_buffer", "label": "from_buffer()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L182"}, {"id": "init_from_descriptor", "label": "from_descriptor()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L195"}, {"id": "init_errorcheck_null", "label": "errorcheck_null()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L214"}, {"id": "init_errorcheck_negative_one", "label": "errorcheck_negative_one()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L222"}, {"id": "init_maybe_decode", "label": "maybe_decode()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L232"}, {"id": "init_unpath", "label": "unpath()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L244"}, {"id": "init_coerce_filename", "label": "coerce_filename()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L253"}, {"id": "init_magic_file", "label": "magic_file()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L296"}, {"id": "init_magic_buffer", "label": "magic_buffer()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L306"}, {"id": "init_magic_descriptor", "label": "magic_descriptor()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L321"}, {"id": "init_magic_load", "label": "magic_load()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L331"}, {"id": "init_version", "label": "version()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L384"}, {"id": "init_add_compat", "label": "_add_compat()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L431"}, {"id": "init_rationale_1", "label": "magic is a wrapper around the libmagic file identification library. See README", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L1"}, {"id": "init_rationale_39", "label": "Magic is a wrapper around the libmagic C library.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L39"}, {"id": "init_rationale_45", "label": "Create a new libmagic wrapper. mime - if True, mimetypes are returned i", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L45"}, {"id": "init_rationale_95", "label": "Identify the contents of `buf`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L95"}, {"id": "init_rationale_170", "label": "Accepts a filename and returns the detected filetype. Return value is the m", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L170"}, {"id": "init_rationale_183", "label": "Accepts a binary string and returns the detected filetype. Return value is", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L183"}, {"id": "init_rationale_196", "label": "Accepts a file descriptor and returns the detected filetype. Return value i", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L196"}, {"id": "init_rationale_397", "label": "# TODO: should be", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L397"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "glob", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L20", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "ctypes", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L21", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "ctypes_util", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L22", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "threading", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L24", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "ctypes", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L26", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magicexception", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L32", "weight": 1.0}, {"source": "init_magicexception", "target": "exception", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L32", "weight": 1.0}, {"source": "init_magicexception", "target": "init_magicexception_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L33", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magic", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L38", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L43", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_from_buffer", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L94", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_from_file", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L110", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_from_descriptor", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L121", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_handle509bug", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L128", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_setparam", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L137", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_getparam", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L140", "weight": 1.0}, {"source": "init_magic", "target": "init_magic_del", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L143", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_get_magic_type", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L162", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_from_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L169", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_from_buffer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L182", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_from_descriptor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L195", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "backend_venv_lib_python3_12_site_packages_magic_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L208", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_errorcheck_null", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L214", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_errorcheck_negative_one", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L222", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_maybe_decode", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L232", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "os", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L243", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_unpath", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L244", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_unpath", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L250", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_coerce_filename", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L253", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magic_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L296", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magic_buffer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L306", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magic_descriptor", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L321", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magic_load", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L331", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magic_setparam", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L361", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_magic_getparam", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L368", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_version", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L384", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_magic_init_py", "target": "init_add_compat", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L431", "weight": 1.0}, {"source": "init_magicexception_init", "target": "init_magic_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L34", "weight": 1.0}, {"source": "init_magic_init", "target": "init_magic_load", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L73", "weight": 1.0}, {"source": "init_magic_init", "target": "init_version", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L77", "weight": 1.0}, {"source": "init_magic_init", "target": "init_magic_setparam", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L88", "weight": 1.0}, {"source": "init_magic_from_buffer", "target": "init_maybe_decode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L106", "weight": 1.0}, {"source": "init_magic_from_buffer", "target": "init_magic_buffer", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L106", "weight": 1.0}, {"source": "init_magic_from_buffer", "target": "init_magic_handle509bug", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L108", "weight": 1.0}, {"source": "init_magic_from_file", "target": "init_maybe_decode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L117", "weight": 1.0}, {"source": "init_magic_from_file", "target": "init_magic_file", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L117", "weight": 1.0}, {"source": "init_magic_from_file", "target": "init_magic_handle509bug", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L119", "weight": 1.0}, {"source": "init_magic_from_descriptor", "target": "init_maybe_decode", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L124", "weight": 1.0}, {"source": "init_magic_from_descriptor", "target": "init_magic_descriptor", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L124", "weight": 1.0}, {"source": "init_magic_from_descriptor", "target": "init_magic_handle509bug", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L126", "weight": 1.0}, {"source": "init_get_magic_type", "target": "init_magic", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L165", "weight": 1.0}, {"source": "init_from_file", "target": "init_get_magic_type", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L178", "weight": 1.0}, {"source": "init_from_buffer", "target": "init_get_magic_type", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L191", "weight": 1.0}, {"source": "init_from_descriptor", "target": "init_get_magic_type", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L205", "weight": 1.0}, {"source": "init_errorcheck_null", "target": "init_magicexception", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L217", "weight": 1.0}, {"source": "init_errorcheck_negative_one", "target": "init_magicexception", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L225", "weight": 1.0}, {"source": "init_coerce_filename", "target": "init_unpath", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L257", "weight": 1.0}, {"source": "init_magic_file", "target": "init_coerce_filename", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L297", "weight": 1.0}, {"source": "init_magic_load", "target": "init_coerce_filename", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L332", "weight": 1.0}, {"source": "init_add_compat", "target": "exception", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L462", "weight": 1.0}, {"source": "init_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_magic_init_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L1", "weight": 1.0}, {"source": "init_rationale_39", "target": "init_magic", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L39", "weight": 1.0}, {"source": "init_rationale_45", "target": "init_magic_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L45", "weight": 1.0}, {"source": "init_rationale_95", "target": "init_magic_from_buffer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L95", "weight": 1.0}, {"source": "init_rationale_170", "target": "init_from_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L170", "weight": 1.0}, {"source": "init_rationale_183", "target": "init_from_buffer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L183", "weight": 1.0}, {"source": "init_rationale_196", "target": "init_from_descriptor", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L196", "weight": 1.0}, {"source": "init_rationale_397", "target": "backend_venv_lib_python3_12_site_packages_magic_init_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L397", "weight": 1.0}], "raw_calls": [{"caller_nid": "init_magicexception_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L34"}, {"caller_nid": "init_magic_init", "callee": "magic_open", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L70"}, {"caller_nid": "init_magic_init", "callee": "Lock", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L71"}, {"caller_nid": "init_magic_init", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L78"}, {"caller_nid": "init_magic_from_buffer", "callee": "type", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L104"}, {"caller_nid": "init_magic_from_buffer", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L105"}, {"caller_nid": "init_magic_from_file", "callee": "_real_open", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L112"}, {"caller_nid": "init_magic_setparam", "callee": "magic_setparam", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L138"}, {"caller_nid": "init_magic_getparam", "callee": "magic_getparam", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L141"}, {"caller_nid": "init_magic_del", "callee": "hasattr", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L154"}, {"caller_nid": "init_magic_del", "callee": "magic_close", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L155"}, {"caller_nid": "init_get_magic_type", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L163"}, {"caller_nid": "init_errorcheck_null", "callee": "magic_error", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L216"}, {"caller_nid": "init_errorcheck_negative_one", "callee": "magic_error", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L224"}, {"caller_nid": "init_maybe_decode", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L239"}, {"caller_nid": "init_unpath", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L245"}, {"caller_nid": "init_unpath", "callee": "__fspath__", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L246"}, {"caller_nid": "init_coerce_filename", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L265"}, {"caller_nid": "init_coerce_filename", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L267"}, {"caller_nid": "init_coerce_filename", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L269"}, {"caller_nid": "init_magic_file", "callee": "_magic_file", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L297"}, {"caller_nid": "init_magic_buffer", "callee": "_magic_buffer", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L307"}, {"caller_nid": "init_magic_buffer", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L307"}, {"caller_nid": "init_magic_descriptor", "callee": "_magic_descriptor", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L322"}, {"caller_nid": "init_magic_load", "callee": "_magic_load", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L332"}, {"caller_nid": "init_magic_setparam", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L363"}, {"caller_nid": "init_magic_setparam", "callee": "c_size_t", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L364"}, {"caller_nid": "init_magic_setparam", "callee": "_magic_setparam", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L365"}, {"caller_nid": "init_magic_setparam", "callee": "byref", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L365"}, {"caller_nid": "init_magic_getparam", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L370"}, {"caller_nid": "init_magic_getparam", "callee": "c_size_t", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L371"}, {"caller_nid": "init_magic_getparam", "callee": "_magic_getparam", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L372"}, {"caller_nid": "init_magic_getparam", "callee": "byref", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L372"}, {"caller_nid": "init_version", "callee": "NotImplementedError", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L386"}, {"caller_nid": "init_version", "callee": "magic_version", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L387"}, {"caller_nid": "init_add_compat", "callee": "deprecation_wrapper", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L451"}, {"caller_nid": "init_add_compat", "callee": "compile", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L454"}, {"caller_nid": "init_add_compat", "callee": "set", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L455"}, {"caller_nid": "init_add_compat", "callee": "items", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L456"}, {"caller_nid": "init_add_compat", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/magic/__init__.py", "source_location": "L457"}]}