Skip to content

Commit

Permalink
docstring additions
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-quix committed Jul 16, 2024
1 parent 6561e5d commit b5fac2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion quixstreams/dataframe/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ def func(values: list, state: State):
:param metadata: if True, the callback will receive key, timestamp and headers
along with the value.
Default - `False`.
:return: the updated StreamingDataFrame instance (reassignment NOT required).
"""
if stateful:
self._register_store()
Expand Down Expand Up @@ -576,7 +577,7 @@ def to_topic(
If passed, the return type of this callable must be serializable
by `key_serializer` defined for this Topic object.
By default, the current message key will be used.
:return: the updated StreamingDataFrame instance (reassignment NOT required).
"""
return self._add_update(
lambda value, orig_key, timestamp, headers: self._produce(
Expand Down

0 comments on commit b5fac2e

Please sign in to comment.