File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 68
68
Gwei = NewType ("Gwei" , int )
69
69
RequestFormatter = Callable [..., TReturn ]
70
70
RequestFormatters = Dict [RPCEndpoint , RequestFormatter [TReturn ]]
71
+ ResponseFormatter = Callable [[RPCResponse ], TReturn ]
72
+ ResponseFormatters = Dict [RPCEndpoint , ResponseFormatter [TReturn ]]
71
73
72
74
73
75
class AccessListEntry (TypedDict ):
@@ -309,9 +311,9 @@ class CreateAccessListResponse(TypedDict):
309
311
310
312
311
313
class FormattersDict (TypedDict , total = False ):
312
- error_formatters : Optional [Formatters ]
313
- request_formatters : Optional [Formatters ]
314
- result_formatters : Optional [Formatters ]
314
+ error_formatters : Optional [ResponseFormatters ]
315
+ request_formatters : Optional [ResponseFormatters ]
316
+ result_formatters : Optional [ResponseFormatters ]
315
317
316
318
317
319
class FilterParams (TypedDict , total = False ):
You can’t perform that action at this time.
0 commit comments