Skip to content

Commit 1601011

Browse files
smagafurovpavlov99
authored andcommitted
minor fix: add JSONRPC20BatchResponse.request attribute in __init__ with type hinting
1 parent b67f23c commit 1601011

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jsonrpc/jsonrpc2.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ class JSONRPC20BatchResponse(object):
253253

254254
def __init__(self, *responses):
255255
self.responses = responses
256+
self.request = None # type: JSONRPC20BatchRequest
256257

257258
@property
258259
def data(self):

0 commit comments

Comments
 (0)