Files
tfm_ainventory/graphify-out/cache/5f0c983ab49363b579be6409be4a46434c05f9f9c581bfaa63bd1baa50718ee4.json

1 line
16 KiB
JSON

{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_setuptools_distutils_text_file_py", "label": "text_file.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L1"}, {"id": "text_file_textfile", "label": "TextFile", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L10"}, {"id": "text_file_textfile_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L79"}, {"id": "text_file_textfile_open", "label": ".open()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L114"}, {"id": "text_file_textfile_close", "label": ".close()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L121"}, {"id": "text_file_textfile_gen_error", "label": ".gen_error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L130"}, {"id": "text_file_textfile_error", "label": ".error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L142"}, {"id": "text_file_textfile_warn", "label": ".warn()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L145"}, {"id": "text_file_textfile_readline", "label": ".readline()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L155"}, {"id": "text_file_textfile_readlines", "label": ".readlines()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L272"}, {"id": "text_file_textfile_unreadline", "label": ".unreadline()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L282"}, {"id": "text_file_rationale_1", "label": "text_file provides the TextFile class, which gives an interface to text files t", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L1"}, {"id": "text_file_rationale_11", "label": "Provides a file-like object that takes care of all the things you commonly w", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L11"}, {"id": "text_file_rationale_80", "label": "Construct a new TextFile object. At least one of 'filename' (a string)", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L80"}, {"id": "text_file_rationale_115", "label": "Open a new file named 'filename'. This overrides both the 'filename' an", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L115"}, {"id": "text_file_rationale_122", "label": "Close the current file and forget everything we know about it (filename,", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L122"}, {"id": "text_file_rationale_146", "label": "Print (to stderr) a warning message tied to the current logical line in", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L146"}, {"id": "text_file_rationale_156", "label": "Read and return a single logical line from the current file (or from an", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L156"}, {"id": "text_file_rationale_273", "label": "Read and return the list of all logical lines remaining in the current f", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L273"}, {"id": "text_file_rationale_283", "label": "Push 'line' (a string) onto an internal buffer that will be checked by f", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L283"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_setuptools_distutils_text_file_py", "target": "sys", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L7", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_setuptools_distutils_text_file_py", "target": "text_file_textfile", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L10", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L79", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_open", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L114", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_close", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L121", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_gen_error", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L130", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_error", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L142", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_warn", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L145", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_readline", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L155", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_readlines", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L272", "weight": 1.0}, {"source": "text_file_textfile", "target": "text_file_textfile_unreadline", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L282", "weight": 1.0}, {"source": "text_file_textfile_init", "target": "text_file_textfile_open", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L103", "weight": 1.0}, {"source": "text_file_textfile_error", "target": "text_file_textfile_gen_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L143", "weight": 1.0}, {"source": "text_file_textfile_warn", "target": "text_file_textfile_gen_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L153", "weight": 1.0}, {"source": "text_file_textfile_readline", "target": "text_file_textfile_warn", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L223", "weight": 1.0}, {"source": "text_file_textfile_readlines", "target": "text_file_textfile_readline", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L277", "weight": 1.0}, {"source": "text_file_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_setuptools_distutils_text_file_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L1", "weight": 1.0}, {"source": "text_file_rationale_11", "target": "text_file_textfile", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L11", "weight": 1.0}, {"source": "text_file_rationale_80", "target": "text_file_textfile_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L80", "weight": 1.0}, {"source": "text_file_rationale_115", "target": "text_file_textfile_open", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L115", "weight": 1.0}, {"source": "text_file_rationale_122", "target": "text_file_textfile_close", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L122", "weight": 1.0}, {"source": "text_file_rationale_146", "target": "text_file_textfile_warn", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L146", "weight": 1.0}, {"source": "text_file_rationale_156", "target": "text_file_textfile_readline", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L156", "weight": 1.0}, {"source": "text_file_rationale_273", "target": "text_file_textfile_readlines", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L273", "weight": 1.0}, {"source": "text_file_rationale_283", "target": "text_file_textfile_unreadline", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L283", "weight": 1.0}], "raw_calls": [{"caller_nid": "text_file_textfile_init", "callee": "RuntimeError", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L85"}, {"caller_nid": "text_file_textfile_init", "callee": "keys", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L91"}, {"caller_nid": "text_file_textfile_init", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L93"}, {"caller_nid": "text_file_textfile_init", "callee": "setattr", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L95"}, {"caller_nid": "text_file_textfile_init", "callee": "keys", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L98"}, {"caller_nid": "text_file_textfile_init", "callee": "KeyError", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L100"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L134"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L135"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L136"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "format", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L136"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L138"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L138"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L139"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "str", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L139"}, {"caller_nid": "text_file_textfile_gen_error", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L140"}, {"caller_nid": "text_file_textfile_error", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L143"}, {"caller_nid": "text_file_textfile_warn", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L153"}, {"caller_nid": "text_file_textfile_readline", "callee": "find", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L191"}, {"caller_nid": "text_file_textfile_readline", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L214"}, {"caller_nid": "text_file_textfile_readline", "callee": "replace", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L217"}, {"caller_nid": "text_file_textfile_readline", "callee": "lstrip", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L227"}, {"caller_nid": "text_file_textfile_readline", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L231"}, {"caller_nid": "text_file_textfile_readline", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L241"}, {"caller_nid": "text_file_textfile_readline", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L249"}, {"caller_nid": "text_file_textfile_readline", "callee": "lstrip", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L251"}, {"caller_nid": "text_file_textfile_readline", "callee": "rstrip", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L253"}, {"caller_nid": "text_file_textfile_readlines", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L280"}, {"caller_nid": "text_file_textfile_unreadline", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py", "source_location": "L286"}]}