fiftyone.operators.logging_utils#

Stdio capture utilities for operator worker processes.

Copyright 2017-2026, Voxel51, Inc.

Classes:

LineFlushedStdio(original)

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: object

Replace 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.

write(s)#
flush()#
drain()#

Emit any unterminated buffered text as a final line.