| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Rename call to response_iterator_call file-wide for response-streaming tests.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
Moves all tests into a separate package. This does not change existing
supported means of running tests (e.g. through run_tests.py).
|