| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
.received_cancelled was changed to .cancelled() in
81edf5ff9af2d90813773acb9c2793e1a4cd1057; this change should have been
a part of that change.
|
| |
|
| |
|
|\
| |
| | |
Initial Gevent Compatibility
|
| |
| |
| |
| |
| | |
Because some cpp code ends up leaking into cython, we change
the cython generator to generate cpp code.
|
| |
| |
| |
| | |
Relying on garbage collection to stop servers breaks with gevent.
|
|\ \
| |/
|/| |
Revert "Verify early OK behavior"
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
| |
The Beta API has an execution date and RPC Framework is but a distant
memory.
This test is flaky with Python 3.5 on Windows! Some mysteries will just
have to remain unsolved...
|
|
|
|
|
|
|
|
|
|
| |
Looks like early OK support was implemented in
https://github.com/grpc/grpc/pull/14080 but
https://github.com/grpc/grpc/issues/7032 was not marked fixed at the
time.
Good thing it was just an idea on our Google Summer of Code ideas
page...
|
|\
| |
| | |
Remove Python background poller thread
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
| |
The thread that watches connectivity on the channel might not
pick up that the server has gone away before the request is
dispatched, and return UNAVAILABLE instead of reconnecting
prior to sending the request. The fundamental solution would
basically be enabling retries in C-core. For now, we opt to
sleep a second to deflake this particular test case.
|
|\
| |
| | |
Elide cygrpc.ChannelArg and cygrpc.ChannelArgs.
|
| | |
|
| | |
|
|\ \
| |/
|/| |
python: Context.abort should fail RPC even for StatusCode.OK
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
grpc.ServicerContext.abort is documented to always raise an exception
to terminate the RPC. The code argument "must not be StatusCode.OK."
However, if you do pass StatusCode.OK, the RPC terminates successfully
on the client side, but returns None.
_server.py: If the user accidentally passes StatusCode.OK, treat it as
StatusCode.UNKNOWN. This is what happens if the user accidentally
passes something that is not a StatusCode instance. Additionally
set details to ''.
_metadata_code_details_test.py: update test to verify the behavior of
abort with invalid codes.
|
|/ |
|
|
|
|
| |
Upgrade yapf version to 0.20.0 and reformat Python files.
|
|\
| |
| | |
Reform cygrpc.OperationTag and cygrpc.Event.
|
|\ \
| | |
| | |
| | | |
Upmerge v1.8.3 into master
|
| | |
| | |
| | |
| | |
| | |
| | | |
Rather than single classes they are now broken up into class families
with each class containing only those fields and methods that are
needed in the context in which the class is used.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It is now a family of classes conforming to an interface rather than a
single class no single instance of which makes use of all behavior
scoped to the class.
It also now only uses gRPC Core memory for the time of a single batch
rather than for the entire lifetime of the instance.
|
| | |
|
|\ \
| | |
| | | |
Disable so_reuseport for Python tests
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| /
| |/ |
Upmerge changes from v1.8.x to master
|
| |
| |
| |
| |
| |
| | |
This restore unsupported, de facto behavior that was dropped in
80516e884a8cd03daaa1f4a40d2bb2 but that it turns out a lot of folks
have been using.
|
|\| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Rename call to response_iterator_call file-wide for response-streaming tests.
|
| | |
|