Skip to content

Commit

Permalink
update yield
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Dec 6, 2023
1 parent 125c81c commit e7e7de8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@ def consume_events(self) -> Iterator[DagsterEvent]:
If consume_events has not yet been called, this will yield all logged events since the beginning of the op's computation. If consume_events has been called, it will yield all events since the last time consume_events was called. Designed for internal use. Users should never need to invoke this method.
"""
return self.op_execution_context.consume_events()
yield from self.op_execution_context.consume_events()

@public
def log_event(self, event: UserEvent) -> None:
Expand Down

0 comments on commit e7e7de8

Please sign in to comment.