enable_output

function

gworker_client.io.enable_output

Context manager that toggles stdout/stderr capture for the wrapped block. Pass enable=False to suppress log output from a noisy library call without silencing the rest of the task.

Signature

python
1enable_output(enable: bool = True) -> Iterator[bool]

← Back to docs