Skip to content

Commit

Permalink
fix streaming batch (#1074)
Browse files Browse the repository at this point in the history
* fix streaming batch + streaming blender example

* revert changes to the blender example
  • Loading branch information
johny-b authored May 22, 2023
1 parent 39087f6 commit 3573e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yapapi/script/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def process_batch_event(
) -> CommandEvent:
"""Event emitting and special events.CommandExecuted logic."""
command = self._commands[event_kwargs["cmd_idx"]]
del event_kwargs["cmd_idx"]
event_kwargs = {key: val for key, val in event_kwargs.items() if key != "cmd_idx"}
event = command.emit(event_class, **event_kwargs)

if isinstance(event, CommandExecuted):
Expand Down

0 comments on commit 3573e7f

Please sign in to comment.