Muxi Yan
6a085457fd
Bump version up to 1.24.0-pre2
5 years ago
Pau Freixes
a44e6d76b7
[Aio] Unary unary client call barebones implementation
...
Implement the minimal stuff for making a unary call with the new
experimental gRPC Python implementation for Asyncio, called Aio.
What has been added:
- Minimal iomgr code for performing the required network and timer
calls.
- Minimal Cython code implementing the channel, call and the callback
context.
- Minimal Python code that mimics the synchronous implementation but
designed to be asynchronous.
Testing considerations:
Tests have to be executed using the `GRPC_ENABLE_FORK_SUPPORT=0`
environment variable for skipping the fork handles installed by
the core library. This is due to the usage of a syncrhonous server
used as a fixture executed in another process.
Co-authored-by: Manuel Miranda <manuel.miranda@skyscanner.net>
Co-authored-by: Mariano Anaya <mariano.anaya@skyscanner.net>
Co-authored-by: Zhanghui Mao <zhanghui.mao@skyscanner.net>
Co-authored-by: Lidi Zheng <lidiz@google.com>
5 years ago
Esun Kim
20b4c7080a
Regenerate projects
5 years ago
Esun Kim
cf444b9cab
Regenerate projects
5 years ago
Esun Kim
c965ca1494
Pull out configuration from ssl_utils
5 years ago
Mark D. Roth
51d18ecc63
Convert mpscq API from C to C++.
5 years ago
Richard Belleville
d649880044
Add strip_prefix to python protoc plugin and py_grpc_library
5 years ago
Richard Belleville
1444cd1dd3
Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
...
This reverts commit 24c562dbaa
.
5 years ago
Richard Belleville
24c562dbaa
Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
...
This reverts commit c9c847f334
, reversing
changes made to 07ba4de392
.
5 years ago
Mark D. Roth
21c5424477
Add API for accessing per-call backend metric data in LB policies.
5 years ago
Richard Belleville
1b69538d58
Switch all tests to py2and3_test
5 years ago
Richard Belleville
426450cd82
Implement dual testing
5 years ago
Lidi Zheng
a2990a053c
Revert changes in src/python/grpcio_tests/commands.py
5 years ago
Lidi Zheng
630e6ab221
Use the correct machanism to ignore test in Windows
5 years ago
Lidi Zheng
8f403431a1
Try to disable it again
5 years ago
Lidi Zheng
750a8ab6ca
Fix import
5 years ago
Lidi Zheng
d9c0d498f2
Stop the failing tests
5 years ago
Neeraj Kashyap
5c173084f8
condition acquire and release with context manager
...
Was previously unfamiliar with the contex manager wrapper around
threading primitives.
5 years ago
Neeraj Kashyap
1ab9225dce
Release the lock on the RPC object condition
5 years ago
Neeraj Kashyap
b804ce974a
Implemented _abort method on ServicerContext
...
This acquires a lock from the _condition member of the context's _rpc
and then aborts the _rpc directly
5 years ago
Richard Belleville
8ce740cfe0
Switch py_proto_library from using src to deps to conform with google3
5 years ago
Lidi Zheng
25f21d4824
Make default vtable for pointer argumnet a constant
5 years ago
Lidi Zheng
2c9cff30a1
Fix typo in the ignore list...
5 years ago
Richard Belleville
662919cf90
Simplify with itertools
5 years ago
Richard Belleville
d273fdf41d
Remove line of dead code
5 years ago
Richard Belleville
ee99f9aa4c
Remove TODO
5 years ago
Richard Belleville
09a270d6ad
Gracefully handle errors from callbacks.
...
In https://github.com/grpc/grpc/issues/19910 , it was pointed out that
raising an exception from a Future callback would cause the channel spin
thread to terminate. If there are outstanding events on the channel,
this will cause calls to Channel.close() to block indefinitely.
This commit ensures that the channel spin thread does not die. Instead,
exceptions will be logged at ERROR level.
5 years ago
Lidi Zheng
853a6318b4
Correct the disable pattern
5 years ago
Richard Belleville
e0d04c9a9e
Yapf.
5 years ago
Lidi Zheng
5d7766153f
Disable local tcp test for gevent
5 years ago
Richard Belleville
f03ae6d493
Fix streaming test case
5 years ago
Richard Belleville
3d56c83a5f
Correct out-of-date docstrings
5 years ago
Richard Belleville
967f55efd6
Add explanatory comment.
5 years ago
Richard Belleville
235b27257c
Re-add unittest.main.
5 years ago
Richard Belleville
84855a18a9
Yapf
5 years ago
Richard Belleville
ca2fcd647a
Add docstring
5 years ago
Richard Belleville
4f04a80a69
Add note about something seemingly suspect.
5 years ago
Richard Belleville
b4eaccf754
Make tests deterministic
5 years ago
Richard Belleville
2a9998bc13
Properly handle exceptions in signal handlers for in-flight outgoing RPCs
5 years ago
Lidi Zheng
c45fb12ffb
Add experimental API note.
5 years ago
Lidi Zheng
227a7cb47b
Adopt reviewer's suggestion
5 years ago
Lidi Zheng
5a4d46d19b
Add wait_for_ready attempt to fix gevent issue
5 years ago
Juanli Shen
a802b14be6
Add xds resolver
5 years ago
Lidi Zheng
64dd532732
Make _api_test.py happy
5 years ago
Lidi Zheng
40fe76ad30
Fix import
5 years ago
Lidi Zheng
0d203d39b8
Adopt reviewers' advice
5 years ago
Lidi Zheng
f681fe89af
Make yapf happy
5 years ago
Lidi Zheng
5db1ae34b4
Expose local credentials on Python layer
5 years ago
Karthik Ravi Shankar
136d3daf53
Regenerate projects
5 years ago
Esun Kim
be4e684a82
Migrated tsi/alts from nanopb to upb
5 years ago