File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -117,21 +117,21 @@ def _create_grab(self):
117
117
if issubclass (self ._response_message_cls , proto .Message ):
118
118
119
119
def grab (this ):
120
- result = this ._ready_objs .popleft ()
120
+ response_payload = this ._ready_objs .popleft ()
121
121
if logging_enabled : # pragma: NO COVER
122
- self ._log_result ( result )
122
+ self ._log_response_payload ( response_payload )
123
123
return this ._response_message_cls .from_json (
124
- result , ignore_unknown_fields = True
124
+ response_payload , ignore_unknown_fields = True
125
125
)
126
126
127
127
return grab
128
128
elif issubclass (self ._response_message_cls , google .protobuf .message .Message ):
129
129
130
130
def grab (this ):
131
- result = this ._ready_objs .popleft ()
131
+ response_payload = this ._ready_objs .popleft ()
132
132
if logging_enabled : # pragma: NO COVER
133
- self ._log_result ( result )
134
- return Parse (result , this ._response_message_cls ())
133
+ self ._log_response_payload ( response_payload )
134
+ return Parse (response_payload , this ._response_message_cls ())
135
135
136
136
return grab
137
137
else :
You can’t perform that action at this time.
0 commit comments