Richard Belleville
aadcded305
Add docstrings
5 years ago
Richard Belleville
1abe2f0ac2
Add stream_stream
5 years ago
Richard Belleville
38bef98463
Add stream-unary
5 years ago
Richard Belleville
b5f06c216e
Implement unary_stream
5 years ago
Richard Belleville
4ac50ceed6
Add maximum-based channel eviction
5 years ago
Lidi Zheng
5cf41f3424
Revert the changes in _channel.py
5 years ago
Lidi Zheng
33014035eb
Skip the test_invalid_metadata on Windows for now
5 years ago
Lidi Zheng
c7095d6854
Make a proper shallow copy of onging calls set
5 years ago
Lidi Zheng
15ff162fe3
Improve the documentation about newly added exception classes
5 years ago
Lidi Zheng
22cd31b0ec
Remove TODO
5 years ago
Lidi Zheng
ecf44b094b
Prohibit mixing two styles of API on client side
5 years ago
Richard Belleville
20f85c1d60
Don't run test under Python 2
5 years ago
Mariano Anaya
1df63bf35b
Get the debug_error_string in a simpler fashion
...
* Use the public method in ``AioRpcStatus``
* Keep everything encapsulated inside the function that creates the
error.
5 years ago
Lidi Zheng
473a75b47e
Reduce side effect of a "create" method
5 years ago
Yannic Bonenberger
06ecc87290
[bazel] Add fixes for --incompatible_load_proto_rules_from_bzl
5 years ago
Mariano Anaya
583712704a
[Aio] Set debug_error_string to AioRpcError
...
When handling errors in aio, also set the ``debug_error_string``, to get
more information (when available), about the exception, and help debug.
5 years ago
Richard Belleville
741b407ac4
Add simple eviction mechanism
5 years ago
Mark D. Roth
01e87e2d93
Remove old JSON API
5 years ago
Richard Belleville
5a8a6e3ad3
Add thread-safe channel cache. Test that it actually caches
5 years ago
Lidi Zheng
b378b66f8c
[Aio] Attempt to fix recent AsyncIO windows flake
5 years ago
Lidi Zheng
daeaf8eff4
Promote the channel_ready & simplify test logic
5 years ago
Lidi Zheng
0919f939b4
Improve compression docstring & simplify metadata default value
5 years ago
Jan Tattermusch
21512217f2
get rid of the https://grpc.io/release plague
5 years ago
Richard Belleville
0c4af58acc
Add test and fake LRU cache interface
5 years ago
Lidi Zheng
a5503cc64a
Add unit test for channel ready
5 years ago
Lidi Zheng
6a330edf74
Add channel_ready helper function
5 years ago
Lidi Zheng
d190a0e08c
Make YAPF happy
5 years ago
Lidi Zheng
eb1f21f651
Improve readability of unit tests & add one more test case
5 years ago
Lidi Zheng
cd76b79e7f
Support compression for both client and server
5 years ago
Pau Freixes
5cd4e133bf
Increase timeout in some tests
5 years ago
Pau Freixes
2d89ef0acd
Fix pylint issue
5 years ago
Pau Freixes
3a8be1784c
make YAPF happy
5 years ago
Pau Freixes
c94364f311
Use a weakset for storing ongoing calls
5 years ago
Pau Freixes
2cef2fce39
Use set as data structure for trace ongoing calls
5 years ago
Pau Freixes
d0b218ae18
Once cancelled just destroy the channel
5 years ago
Mehrdad Afshari
9bdd529077
Check .code() before .cancelled() in Python RPC tests
...
Call object's `.cancelled()` is not guaranteed to immediately return
True per spec even if `cancel()` is called. `.code()` ensures that
the RPC is terminated before we check for `.cancelled()` to ensure
our test is not stricter than necessary (a conforming implementation
should be allowed to return `False` on `cancelled()` for a bit due
to a race or something. This change makes the test more generically
applicable to other implementations.
5 years ago
Lidi Zheng
892fdf85d6
Add SecureLocalInteropTest to tests.json
5 years ago
Lidi Zheng
47246c86bb
Fix the server credentials & improve socket implementation
5 years ago
Lidi Zheng
788d14cb1f
Enable more local interop test cases and other fixes:
...
* Support echo status and metadata for interop test server
* Add set_code and set_details for ServicerContext
* Add an is_ok() method on cygrpc._AioCall object
* Sanitize user supplied status code
* Prettify server-side unexpected exception log
* Reduce log spams from unary calls
5 years ago
Lidi Zheng
9b26b410fb
Support echo status for interop test server
5 years ago
Lidi Zheng
4842e23e9c
Make YAPF happy
5 years ago
Lidi Zheng
3e2d5da7a2
Use as much template as possible & fix some wording
5 years ago
Lidi Zheng
acbc36b281
Remove the unused constant
5 years ago
Lidi Zheng
20a6edfe6e
Restrict visibility & improve readability
5 years ago
Lidi Zheng
dc202bdf1f
Adding gRPC Python AsyncIO interop client and server
5 years ago
Lidi Zheng
b62bc90cec
Update tests.json
5 years ago
Lidi Zheng
f3acd16a49
The initialization of connection might take longer than expected
5 years ago
Lidi Zheng
f713be4f96
Fix the json
5 years ago
Lidi Zheng
ece8422dd0
Simplify the generic handler
5 years ago
Lidi Zheng
c3caab3b3e
Make Python sanity test happy
5 years ago