Skip to content

Commit 32ad717

Browse files
committed
Delete unused method
1 parent 3ca00c1 commit 32ad717

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

storey/flow.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1876,22 +1876,6 @@ def _static_streaming_run(input, path: str, origin_name: Optional[str], queue: m
18761876
_streaming_run_wrapper(_sval, input, path, origin_name, queue)
18771877

18781878

1879-
def _read_streaming_queue(queue: multiprocessing.Queue) -> Generator:
1880-
"""Generator that reads chunks from a multiprocessing queue.
1881-
1882-
This runs in the parent process and yields chunks sent by the child process.
1883-
"""
1884-
while True:
1885-
msg_type, payload = queue.get()
1886-
if msg_type == "chunk":
1887-
yield payload
1888-
elif msg_type == "done":
1889-
break
1890-
elif msg_type == "error":
1891-
exc_type, exc_msg, exc_tb = payload
1892-
raise RuntimeError(f"{exc_type}: {exc_msg}\n\nOriginal traceback:\n{exc_tb}")
1893-
1894-
18951879
async def _async_read_streaming_queue(
18961880
queue: multiprocessing.Queue, loop: Optional[asyncio.AbstractEventLoop] = None
18971881
) -> AsyncGenerator:

0 commit comments

Comments
 (0)