1 line
11 KiB
JSON
1 line
11 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_websockets_streams_py", "label": "streams.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L1"}, {"id": "streams_streamreader", "label": "StreamReader", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L6"}, {"id": "streams_streamreader_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L16"}, {"id": "streams_streamreader_read_line", "label": ".read_line()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L20"}, {"id": "streams_streamreader_read_exact", "label": ".read_exact()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L54"}, {"id": "streams_streamreader_read_to_eof", "label": ".read_to_eof()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L77"}, {"id": "streams_streamreader_at_eof", "label": ".at_eof()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L99"}, {"id": "streams_streamreader_feed_data", "label": ".feed_data()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L115"}, {"id": "streams_streamreader_feed_eof", "label": ".feed_eof()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L132"}, {"id": "streams_streamreader_discard", "label": ".discard()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L146"}, {"id": "streams_rationale_7", "label": "Generator-based stream reader. This class doesn't support concurrent calls", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L7"}, {"id": "streams_rationale_21", "label": "Read a LF-terminated line from the stream. This is a generator-based co", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L21"}, {"id": "streams_rationale_55", "label": "Read a given number of bytes from the stream. This is a generator-based", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L55"}, {"id": "streams_rationale_78", "label": "Read all bytes from the stream. This is a generator-based coroutine.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L78"}, {"id": "streams_rationale_100", "label": "Tell whether the stream has ended and all data was read. This is a gene", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L100"}, {"id": "streams_rationale_116", "label": "Write data to the stream. :meth:`feed_data` cannot be called after :met", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L116"}, {"id": "streams_rationale_133", "label": "End the stream. :meth:`feed_eof` cannot be called more than once.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L133"}, {"id": "streams_rationale_147", "label": "Discard all buffered data, but don't end the stream.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L147"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_websockets_streams_py", "target": "collections_abc", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_streams_py", "target": "streams_streamreader", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L6", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L16", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_read_line", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L20", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_read_exact", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L54", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_read_to_eof", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L77", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_at_eof", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L99", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_feed_data", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L115", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_feed_eof", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L132", "weight": 1.0}, {"source": "streams_streamreader", "target": "streams_streamreader_discard", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L146", "weight": 1.0}, {"source": "streams_rationale_7", "target": "streams_streamreader", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L7", "weight": 1.0}, {"source": "streams_rationale_21", "target": "streams_streamreader_read_line", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L21", "weight": 1.0}, {"source": "streams_rationale_55", "target": "streams_streamreader_read_exact", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L55", "weight": 1.0}, {"source": "streams_rationale_78", "target": "streams_streamreader_read_to_eof", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L78", "weight": 1.0}, {"source": "streams_rationale_100", "target": "streams_streamreader_at_eof", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L100", "weight": 1.0}, {"source": "streams_rationale_116", "target": "streams_streamreader_feed_data", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L116", "weight": 1.0}, {"source": "streams_rationale_133", "target": "streams_streamreader_feed_eof", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L133", "weight": 1.0}, {"source": "streams_rationale_147", "target": "streams_streamreader_discard", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L147", "weight": 1.0}], "raw_calls": [{"caller_nid": "streams_streamreader_init", "callee": "bytearray", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L17"}, {"caller_nid": "streams_streamreader_read_line", "callee": "find", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L39"}, {"caller_nid": "streams_streamreader_read_line", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L42"}, {"caller_nid": "streams_streamreader_read_line", "callee": "RuntimeError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L44"}, {"caller_nid": "streams_streamreader_read_line", "callee": "EOFError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L46"}, {"caller_nid": "streams_streamreader_read_line", "callee": "RuntimeError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L49"}, {"caller_nid": "streams_streamreader_read_exact", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L68"}, {"caller_nid": "streams_streamreader_read_exact", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L70"}, {"caller_nid": "streams_streamreader_read_exact", "callee": "EOFError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L71"}, {"caller_nid": "streams_streamreader_read_to_eof", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L91"}, {"caller_nid": "streams_streamreader_read_to_eof", "callee": "RuntimeError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L93"}, {"caller_nid": "streams_streamreader_feed_data", "callee": "EOFError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L129"}, {"caller_nid": "streams_streamreader_feed_eof", "callee": "EOFError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/streams.py", "source_location": "L143"}]} |