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 6868Gwei = NewType ("Gwei" , int )
6969RequestFormatter = Callable [..., TReturn ]
7070RequestFormatters = Dict [RPCEndpoint , RequestFormatter [TReturn ]]
71+ ResponseFormatter = Callable [[RPCResponse ], TReturn ]
72+ ResponseFormatters = Dict [RPCEndpoint , ResponseFormatter [TReturn ]]
7173
7274
7375class AccessListEntry (TypedDict ):
@@ -309,9 +311,9 @@ class CreateAccessListResponse(TypedDict):
309311
310312
311313class 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 ]
315317
316318
317319class FilterParams (TypedDict , total = False ):
You can’t perform that action at this time.
0 commit comments