Skip to content

Commit b8d7cc4

Browse files
author
Michael
committed
Doc correction
1 parent 490bc30 commit b8d7cc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ In order to poll the substream, you will need to call the `poll()` function on t
3939
print(sb.output_modules)
4040

4141
# Poll the module and return a list of SubstreamOutput objects in the order of the specified modules
42-
result = sb.poll(["map_swap_events"], start_block=10000835, end_block=10000835+20000)
42+
result = sb.poll("map_swap_events", start_block=10000835, end_block=10000835+20000)
4343
```
4444

4545
With the default inputs, this function outputs Pandas Dataframes after streaming all blocks between the start_block and end_block. However depending on how this function is called, a dict object is returned. The `poll()` function has a number of inputs

0 commit comments

Comments
 (0)