Skip to content

Commit 54eb7e2

Browse files
committed
Documentation fixes
1 parent 2261d9c commit 54eb7e2

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

substreams_firehose/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ def ethereum_processor(data: Message) -> Iterator[dict]:
302302
if you're interested ;)*
303303
304304
// TODO: talk about turning block processors into substreams
305+
// -> Add section 'Using the right endpoints for the right job'
306+
// -> Take the same previous example and query substreams for transactions
307+
// -> Compare performances ?
305308
306309
# Using substreams_firehose as a library
307310

substreams_firehose/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def filter_keys(input_: dict, keys_filter: dict) -> dict:
3131
3232
Examples:
3333
#### Input
34-
```json
34+
```python
3535
{
3636
'a': 'value',
3737
'b': {
@@ -52,7 +52,7 @@ def filter_keys(input_: dict, keys_filter: dict) -> dict:
5252
}
5353
```
5454
#### Filter
55-
```json
55+
```python
5656
{
5757
'a': True,
5858
'b': {
@@ -68,7 +68,7 @@ def filter_keys(input_: dict, keys_filter: dict) -> dict:
6868
}
6969
```
7070
#### Output
71-
```json
71+
```python
7272
{
7373
'a': 'value',
7474
'b': {

0 commit comments

Comments
 (0)