File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -302,6 +302,9 @@ def ethereum_processor(data: Message) -> Iterator[dict]:
302
302
if you're interested ;)*
303
303
304
304
// 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 ?
305
308
306
309
# Using substreams_firehose as a library
307
310
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def filter_keys(input_: dict, keys_filter: dict) -> dict:
31
31
32
32
Examples:
33
33
#### Input
34
- ```json
34
+ ```python
35
35
{
36
36
'a': 'value',
37
37
'b': {
@@ -52,7 +52,7 @@ def filter_keys(input_: dict, keys_filter: dict) -> dict:
52
52
}
53
53
```
54
54
#### Filter
55
- ```json
55
+ ```python
56
56
{
57
57
'a': True,
58
58
'b': {
@@ -68,7 +68,7 @@ def filter_keys(input_: dict, keys_filter: dict) -> dict:
68
68
}
69
69
```
70
70
#### Output
71
- ```json
71
+ ```python
72
72
{
73
73
'a': 'value',
74
74
'b': {
You can’t perform that action at this time.
0 commit comments