Skip to content

Commit

Permalink
fix: serialize (named)tuple when using orjson (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
zevisert authored Mar 1, 2024
1 parent ebf66ae commit 5330c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faust/utils/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
DECIMAL_MAXLEN = 1000

#: Types that we convert to lists.
SEQUENCE_TYPES: TypeTuple[Iterable] = (set, frozenset, deque)
SEQUENCE_TYPES: TypeTuple[Iterable] = (set, frozenset, deque, tuple)

DateTypeTuple = Tuple[Union[Type[datetime.date], Type[datetime.time]], ...]
DatetimeTypeTuple = Tuple[
Expand Down

0 comments on commit 5330c45

Please sign in to comment.