fiftyone.operators.logging_utils#
Stdio capture utilities for operator worker processes.
Classes:
|
Replace tqdm-style r updates with n-terminated lines so the container runtime's line-delimited log pipeline flushes per tick. |
- class fiftyone.operators.logging_utils.LineFlushedStdio(original)#
Bases:
objectReplace tqdm-style r updates with n-terminated lines so the container runtime’s line-delimited log pipeline flushes per tick. Progress lines are throttled to one emit per integer percent.
Methods:
- write(s)#
- flush()#
- drain()#
Emit any unterminated buffered text as a final line.