{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "label": "messages.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L1"}, {"id": "messages_assembler", "label": "Assembler", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L19"}, {"id": "messages_assembler_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L34"}, {"id": "messages_assembler_get_next_frame", "label": ".get_next_frame()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L72"}, {"id": "messages_assembler_reset_queue", "label": ".reset_queue()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L94"}, {"id": "messages_get", "label": "get()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L117"}, {"id": "messages_assembler_get", "label": ".get()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L131"}, {"id": "messages_get_iter", "label": "get_iter()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L204"}, {"id": "messages_assembler_get_iter", "label": ".get_iter()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L212"}, {"id": "messages_assembler_put", "label": ".put()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L276"}, {"id": "messages_assembler_maybe_pause", "label": ".maybe_pause()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L301"}, {"id": "messages_assembler_maybe_resume", "label": ".maybe_resume()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L314"}, {"id": "messages_assembler_close", "label": ".close()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L327"}, {"id": "messages_rationale_20", "label": "Assemble messages from frames. :class:`Assembler` expects only data frames.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L20"}, {"id": "messages_rationale_132", "label": "Read the next message. :meth:`get` returns a single :class:`str` or :cl", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L132"}, {"id": "messages_rationale_213", "label": "Stream the next message. Iterating the return value of :meth:`get_iter`", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L213"}, {"id": "messages_rationale_277", "label": "Add ``frame`` to the next message. Raises: EOFError: If the", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L277"}, {"id": "messages_rationale_302", "label": "Pause the writer if queue is above the high water mark.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L302"}, {"id": "messages_rationale_315", "label": "Resume the writer if queue is below the low water mark.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L315"}, {"id": "messages_rationale_328", "label": "End the stream of frames. Calling :meth:`close` concurrently with :meth", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L328"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "codecs", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "queue", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "threading", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "backend_venv_lib_python3_12_site_packages_websockets_exceptions_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "backend_venv_lib_python3_12_site_packages_websockets_frames_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L9", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "backend_venv_lib_python3_12_site_packages_websockets_typing_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "backend_venv_lib_python3_12_site_packages_websockets_sync_utils_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_assembler", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L19", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L34", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_get_next_frame", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L72", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_reset_queue", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L94", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L117", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L120", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L123", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L126", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L129", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_get", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L131", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get_iter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L204", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get_iter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L207", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_websockets_sync_messages_py", "target": "messages_get_iter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L210", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_get_iter", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L212", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_put", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L276", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_maybe_pause", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L301", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_maybe_resume", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L314", "weight": 1.0}, {"source": "messages_assembler", "target": "messages_assembler_close", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L327", "weight": 1.0}, {"source": "messages_assembler_get_next_frame", "target": "messages_assembler_get", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L77", "weight": 1.0}, {"source": "messages_assembler_reset_queue", "target": "messages_assembler_get", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L104", "weight": 1.0}, {"source": "messages_assembler_reset_queue", "target": "messages_assembler_put", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L108", "weight": 1.0}, {"source": "messages_assembler_get", "target": "messages_assembler_get_next_frame", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L169", "weight": 1.0}, {"source": "messages_assembler_get", "target": "messages_assembler_maybe_resume", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L171", "weight": 1.0}, {"source": "messages_assembler_get", "target": "messages_assembler_reset_queue", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L186", "weight": 1.0}, {"source": "messages_assembler_get_iter", "target": "messages_assembler_get_next_frame", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L249", "weight": 1.0}, {"source": "messages_assembler_get_iter", "target": "messages_assembler_maybe_resume", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L251", "weight": 1.0}, {"source": "messages_assembler_put", "target": "messages_assembler_maybe_pause", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L289", "weight": 1.0}, {"source": "messages_assembler_close", "target": "messages_assembler_put", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L343", "weight": 1.0}, {"source": "messages_rationale_20", "target": "messages_assembler", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L20", "weight": 1.0}, {"source": "messages_rationale_132", "target": "messages_assembler_get", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L132", "weight": 1.0}, {"source": "messages_rationale_213", "target": "messages_assembler_get_iter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L213", "weight": 1.0}, {"source": "messages_rationale_277", "target": "messages_assembler_put", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L277", "weight": 1.0}, {"source": "messages_rationale_302", "target": "messages_assembler_maybe_pause", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L302", "weight": 1.0}, {"source": "messages_rationale_315", "target": "messages_assembler_maybe_resume", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L315", "weight": 1.0}, {"source": "messages_rationale_328", "target": "messages_assembler_close", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L328", "weight": 1.0}], "raw_calls": [{"caller_nid": "messages_assembler_init", "callee": "Lock", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L43"}, {"caller_nid": "messages_assembler_init", "callee": "SimpleQueue", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L46"}, {"caller_nid": "messages_assembler_init", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L58"}, {"caller_nid": "messages_assembler_init", "callee": "ValueError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L60"}, {"caller_nid": "messages_assembler_get_next_frame", "callee": "EOFError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L79"}, {"caller_nid": "messages_assembler_get_next_frame", "callee": "TimeoutError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L89"}, {"caller_nid": "messages_assembler_get_next_frame", "callee": "EOFError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L91"}, {"caller_nid": "messages_assembler_reset_queue", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L104"}, {"caller_nid": "messages_assembler_get", "callee": "ConcurrencyError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L159"}, {"caller_nid": "messages_assembler_get", "callee": "Deadline", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L166"}, {"caller_nid": "messages_assembler_get", "callee": "timeout", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L169"}, {"caller_nid": "messages_assembler_get", "callee": "timeout", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L181"}, {"caller_nid": "messages_assembler_get", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L191"}, {"caller_nid": "messages_assembler_get", "callee": "join", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L197"}, {"caller_nid": "messages_assembler_get", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L199"}, {"caller_nid": "messages_assembler_get_iter", "callee": "ConcurrencyError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L239"}, {"caller_nid": "messages_assembler_get_iter", "callee": "UTF8Decoder", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L256"}, {"caller_nid": "messages_assembler_get_iter", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L257"}, {"caller_nid": "messages_assembler_get_iter", "callee": "bytes", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L260"}, {"caller_nid": "messages_assembler_get_iter", "callee": "decode", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L269"}, {"caller_nid": "messages_assembler_get_iter", "callee": "bytes", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L272"}, {"caller_nid": "messages_assembler_put", "callee": "EOFError", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L286"}, {"caller_nid": "messages_assembler_maybe_pause", "callee": "locked", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L307"}, {"caller_nid": "messages_assembler_maybe_pause", "callee": "qsize", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L310"}, {"caller_nid": "messages_assembler_maybe_pause", "callee": "pause", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L312"}, {"caller_nid": "messages_assembler_maybe_resume", "callee": "locked", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L320"}, {"caller_nid": "messages_assembler_maybe_resume", "callee": "qsize", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L323"}, {"caller_nid": "messages_assembler_maybe_resume", "callee": "resume", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L325"}, {"caller_nid": "messages_assembler_close", "callee": "resume", "source_file": "backend/venv/lib/python3.12/site-packages/websockets/sync/messages.py", "source_location": "L348"}]}