1 line
18 KiB
JSON
1 line
18 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "label": "ImImagePlugin.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L1"}, {"id": "imimageplugin_number", "label": "number()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L108"}, {"id": "imimageplugin_imimagefile", "label": "ImImageFile", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L119"}, {"id": "imimageplugin_imimagefile_open", "label": "._open()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L124"}, {"id": "imimageplugin_n_frames", "label": "n_frames()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L285"}, {"id": "imimageplugin_is_animated", "label": "is_animated()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L289"}, {"id": "imimageplugin_imimagefile_seek", "label": ".seek()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L292"}, {"id": "imimageplugin_imimagefile_tell", "label": ".tell()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L314"}, {"id": "imimageplugin_save", "label": "_save()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L343"}, {"id": "imimageplugin_rationale_153", "label": "# FIXME: this may read whole file if not a text file", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L153"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L29", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L30", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L31", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "backend_venv_lib_python3_12_site_packages_pil_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L33", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "backend_venv_lib_python3_12_site_packages_pil_util_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L34", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "imimageplugin_number", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L108", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "imimageplugin_imimagefile", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L119", "weight": 1.0}, {"source": "imimageplugin_imimagefile", "target": "imimageplugin_imimagefile_open", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L124", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "imimageplugin_n_frames", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L285", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "imimageplugin_is_animated", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L289", "weight": 1.0}, {"source": "imimageplugin_imimagefile", "target": "imimageplugin_imimagefile_seek", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L292", "weight": 1.0}, {"source": "imimageplugin_imimagefile", "target": "imimageplugin_imimagefile_tell", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L314", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "target": "imimageplugin_save", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L343", "weight": 1.0}, {"source": "imimageplugin_imimagefile_open", "target": "imimageplugin_imimagefile_seek", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L132", "weight": 1.0}, {"source": "imimageplugin_imimagefile_open", "target": "imimageplugin_imimagefile_tell", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L248", "weight": 1.0}, {"source": "imimageplugin_save", "target": "imimageplugin_imimagefile_tell", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L368", "weight": 1.0}, {"source": "imimageplugin_rationale_153", "target": "backend_venv_lib_python3_12_site_packages_pil_imimageplugin_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L153", "weight": 1.0}], "raw_calls": [{"caller_nid": "imimageplugin_number", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L110"}, {"caller_nid": "imimageplugin_number", "callee": "float", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L112"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "read", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L129"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L131"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "read", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L144"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "readline", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L154"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L156"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L158"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "endswith", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L160"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "endswith", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L162"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L166"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L169"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L172"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L176"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L177"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "replace", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L181"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "tuple", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L182"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "map", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L182"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L182"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L183"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L192"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L202"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L203"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L207"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L214"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "read", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L215"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L218"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "read", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L222"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "range", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L225"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "list", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L234"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "raw", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L241"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "list", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L244"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L252"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L256"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "_Tile", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L259"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "_Tile", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L272"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "_Tile", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L273"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "_Tile", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L274"}, {"caller_nid": "imimageplugin_imimagefile_open", "callee": "_Tile", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L281"}, {"caller_nid": "imimageplugin_imimagefile_seek", "callee": "_seek_check", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L293"}, {"caller_nid": "imimageplugin_imimagefile_seek", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L295"}, {"caller_nid": "imimageplugin_imimagefile_seek", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L303"}, {"caller_nid": "imimageplugin_imimagefile_seek", "callee": "_Tile", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L311"}, {"caller_nid": "imimageplugin_save", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L348"}, {"caller_nid": "imimageplugin_save", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L350"}, {"caller_nid": "imimageplugin_save", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L352"}, {"caller_nid": "imimageplugin_save", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L352"}, {"caller_nid": "imimageplugin_save", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L358"}, {"caller_nid": "imimageplugin_save", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L359"}, {"caller_nid": "imimageplugin_save", "callee": "splitext", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L360"}, {"caller_nid": "imimageplugin_save", "callee": "basename", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L360"}, {"caller_nid": "imimageplugin_save", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L361"}, {"caller_nid": "imimageplugin_save", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L361"}, {"caller_nid": "imimageplugin_save", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L363"}, {"caller_nid": "imimageplugin_save", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L363"}, {"caller_nid": "imimageplugin_save", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L364"}, {"caller_nid": "imimageplugin_save", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L364"}, {"caller_nid": "imimageplugin_save", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L365"}, {"caller_nid": "imimageplugin_save", "callee": "encode", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L365"}, {"caller_nid": "imimageplugin_save", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L367"}, {"caller_nid": "imimageplugin_save", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L368"}, {"caller_nid": "imimageplugin_save", "callee": "getpalette", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L370"}, {"caller_nid": "imimageplugin_save", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L371"}, {"caller_nid": "imimageplugin_save", "callee": "range", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L373"}, {"caller_nid": "imimageplugin_save", "callee": "write", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L376"}, {"caller_nid": "imimageplugin_save", "callee": "_Tile", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/ImImagePlugin.py", "source_location": "L378"}]} |