MCPcopy Index your code
hub / github.com/ResearAI/AutoFigure-Edit / _pipe_output

Function _pipe_output

server.py:354–362  ·  view source on GitHub ↗
(job: Job, pipe, stream_name: str)

Source from the content-addressed store, hash-verified

352
353
354def _pipe_output(job: Job, pipe, stream_name: str) -> None:
355 if pipe is None:
356 return
357 for line in iter(pipe.readline, ""):
358 text = line.rstrip()
359 if text:
360 job.write_log(stream_name, text)
361 job.push("log", {"stream": stream_name, "line": text})
362 pipe.close()
363
364
365def _scan_artifacts(job: Job) -> None:

Callers

nothing calls this directly

Calls 2

write_logMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected