Skip to content

Commit 27bba29

Browse files
committed
chore: add clarifying comment for formatting_helpers envelope check
1 parent e46c163 commit 27bba29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/bigframes/bigframes/formatting_helpers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def progress_callback(
163163
# This will allow cleanup to continue.
164164
return
165165

166+
# Direct publisher.publish calls pass raw Event objects, while background query callbacks wrap events in an EventEnvelope to preserve progress bar context.
166167
if isinstance(envelope, bigframes.core.events.EventEnvelope):
167168
event = envelope.event
168169
progress_bar = envelope.progress_bar

0 commit comments

Comments
 (0)