Searched refs:response_iterator (Results 1 – 12 of 12) sorted by relevance
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _channel_close_test.py | 112 response_iterator = multi_callable(request_iterator) 116 self.assertIs(response_iterator.code(), grpc.StatusCode.CANCELLED) 122 response_iterator = multi_callable(request_iterator) 123 next(response_iterator) 127 self.assertIs(response_iterator.code(), grpc.StatusCode.CANCELLED) 134 response_iterator = multi_callable(request_iterator) 135 next(response_iterator) 138 self.assertIs(response_iterator.code(), grpc.StatusCode.CANCELLED) 149 response_iterator = multi_callable(request_iterator) 150 next(response_iterator) [all …]
|
D | _rpc_test.py | 252 response_iterator = multi_callable( 255 responses = tuple(response_iterator) 316 response_iterator = multi_callable( 319 responses = tuple(response_iterator) 429 response_iterator = multi_callable( 432 next(response_iterator) 438 response_iterator = multi_callable( 443 next(response_iterator) 451 response_iterator = multi_callable( 456 next(response_iterator) [all …]
|
D | _empty_message_test.py | 104 response_iterator = self._channel.unary_stream(_UNARY_STREAM)(_REQUEST) 106 list(response_iterator)) 114 response_iterator = self._channel.stream_stream(_STREAM_STREAM)(iter( 117 list(response_iterator))
|
D | _interceptor_test.py | 358 response_iterator = multi_callable( 364 responses = tuple(response_iterator) 368 response_iterator = multi_callable( 374 responses = tuple(response_iterator) 496 response_iterator = multi_callable( 499 tuple(response_iterator) 589 response_iterator = multi_callable( 592 tuple(response_iterator)
|
D | _exit_scenarios.py | 219 response_iterator = multi_callable(REQUEST) variable 220 for response in response_iterator: 231 response_iterator = multi_callable(infinite_request_iterator()) variable 232 for response in response_iterator:
|
D | _invocation_defects_test.py | 241 response_iterator = multi_callable( 246 next(response_iterator) 252 response_iterator = multi_callable( 258 next(response_iterator)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/interop/ |
D | methods.py | 188 response_iterator = stub.StreamingOutputCall(request) 189 for index, response in enumerate(response_iterator): 248 response_iterator = stub.FullDuplexCall(pipe) 257 response = next(response_iterator) 286 response_iterator = stub.FullDuplexCall(pipe) 296 response = next(response_iterator) 299 response_iterator.cancel() 302 next(response_iterator) 313 response_iterator = stub.FullDuplexCall(pipe, timeout=0.001) 320 next(response_iterator) [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/testing/ |
D | _client_application.py | 110 response_iterator = stub.UnStre(_application_common.UNARY_STREAM_REQUEST) 112 next(response_iterator) 131 response_iterator = stub.StreStre(iter(request_pipe)) 133 first_responses = next(response_iterator), next(response_iterator), 135 second_responses = next(response_iterator), next(response_iterator), 138 next(response_iterator)
|
/external/grpc-grpc/src/python/grpcio/grpc/beta/ |
D | _client_adaptations.py | 76 def __init__(self, response_future, response_iterator, call): argument 78 self._iterator = response_iterator 222 response_iterator = multi_callable( 227 return _Rendezvous(None, response_iterator, response_iterator) 281 response_iterator = multi_callable( 286 return _Rendezvous(None, response_iterator, response_iterator)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/ |
D | _beta_features_test.py | 208 response_iterator = getattr(self._dynamic_stub, _UNARY_STREAM)( 249 response_iterator = getattr(self._dynamic_stub, _STREAM_STREAM)( 253 response_iterator.protocol_context().disable_next_request_compression() 255 response = next(response_iterator) 256 response_iterator.protocol_context().disable_next_request_compression()
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_server/ |
D | _service.py | 56 response_iterator = implementation(argument, servicer_context) 62 response = next(response_iterator)
|
/external/grpc-grpc/src/python/grpcio/grpc/ |
D | _server.py | 404 def _take_response_from_response_iterator(rpc_event, state, response_iterator): argument 406 return next(response_iterator), True 499 response_iterator, proceed = _call_behavior( 504 rpc_event, state, response_iterator)
|