Skip to content

Commit

Permalink
Fix apidoc of pw.io.subscribe (#5866)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 45db6290865283ac3fcdc0f88092e8df663c2b62
  • Loading branch information
szymondudycz authored and Manul from Pathway committed Mar 11, 2024
1 parent bf2d1b9 commit f6ea3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pathway/io/_subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def subscribe(
Args:
table: the table to subscribe.
on_change: the callback to be called on every change in the table. The
function is required to accept three parameters: the row changed, the time
function is required to accept four parameters: the key, the row changed, the time
of the change in microseconds and the flag stating if the change had been an
addition of the row. These parameters of the callback are expected to have
names row, time and is_addition respectively.
names key, row, time and is_addition respectively.
on_end: the callback to be called when the stream of changes ends.
on_time_end: the callback function to be called on each closed time of computation.
Returns:
Expand Down

0 comments on commit f6ea3c5

Please sign in to comment.