{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pil_gimppalettefile_py", "label": "GimpPaletteFile.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L1"}, {"id": "gimppalettefile_gimppalettefile", "label": "GimpPaletteFile", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L26"}, {"id": "gimppalettefile_gimppalettefile_read", "label": "._read()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L31"}, {"id": "gimppalettefile_gimppalettefile_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L65"}, {"id": "gimppalettefile_frombytes", "label": "frombytes()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L69"}, {"id": "gimppalettefile_gimppalettefile_getpalette", "label": ".getpalette()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L74"}, {"id": "gimppalettefile_rationale_27", "label": "File handler for GIMP's palette format.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L27"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pil_gimppalettefile_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L18", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_gimppalettefile_py", "target": "io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_gimppalettefile_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L23", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_gimppalettefile_py", "target": "gimppalettefile_gimppalettefile", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L26", "weight": 1.0}, {"source": "gimppalettefile_gimppalettefile", "target": "gimppalettefile_gimppalettefile_read", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L31", "weight": 1.0}, {"source": "gimppalettefile_gimppalettefile", "target": "gimppalettefile_gimppalettefile_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L65", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pil_gimppalettefile_py", "target": "gimppalettefile_frombytes", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L69", "weight": 1.0}, {"source": "gimppalettefile_gimppalettefile", "target": "gimppalettefile_gimppalettefile_getpalette", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L74", "weight": 1.0}, {"source": "gimppalettefile_gimppalettefile_init", "target": "gimppalettefile_gimppalettefile_read", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L66", "weight": 1.0}, {"source": "gimppalettefile_frombytes", "target": "gimppalettefile_gimppalettefile_read", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L71", "weight": 1.0}, {"source": "gimppalettefile_rationale_27", "target": "gimppalettefile_gimppalettefile", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L27", "weight": 1.0}], "raw_calls": [{"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "startswith", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L32"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "readline", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L32"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L34"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "readline", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L43"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L48"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L50"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "SyntaxError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L52"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "split", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L54"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L55"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L57"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "int", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L59"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "range", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L59"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L60"}, {"caller_nid": "gimppalettefile_gimppalettefile_read", "callee": "bytes", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L63"}, {"caller_nid": "gimppalettefile_frombytes", "callee": "__new__", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L70"}, {"caller_nid": "gimppalettefile_frombytes", "callee": "BytesIO", "source_file": "backend/venv/lib/python3.12/site-packages/PIL/GimpPaletteFile.py", "source_location": "L71"}]}