Skip to content

Commit b08e52a

Browse files
markurtzsjmonson
andauthored
Update src/guidellm/utils/encoding.py
Co-authored-by: Samuel Monson <[email protected]> Signed-off-by: Mark Kurtz <[email protected]>
1 parent cff8d91 commit b08e52a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guidellm/utils/encoding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def from_sequence(self, data: str | Any) -> Any: # noqa: C901, PLR0912
528528
packed sequences
529529
"""
530530
type_, payload, remaining = self.unpack_next_sequence(data)
531-
if remaining:
531+
if remaining is not None:
532532
raise ValueError("Data contains multiple packed sequences; expected one.")
533533

534534
if type_ == "pydantic":

0 commit comments

Comments
 (0)