Commit Graph

2596 Commits

Author SHA1 Message Date
Lidi Zheng b9088ee9dd Address comments 2020-06-23 15:56:25 -07:00
Lidi Zheng 14d499a50f Make PyLint happy 2020-06-23 13:01:01 -07:00
Lidi Zheng 286a80dad5 Resolve the compatibility issue that get_runnint_loop is 3.7+ 2020-06-23 12:45:21 -07:00
Yash Tibrewal e98eaa5052
Revert "Revert "Add message-size check before message decompression"" 2020-06-23 12:19:07 -07:00
Lidi Zheng 6717ecb3cb Suppress the server dealloc warning 2020-06-23 12:12:51 -07:00
Lidi Zheng 8bcffaa5ca Hide init_grpc_aio and guard async API outside of AsyncIO context 2020-06-23 12:10:18 -07:00
Lidi Zheng b2c420fa44
Merge pull request #23265 from lidizheng/aio-context-info
[Aio] Implement methods to access auth context and peer info
2020-06-23 10:40:33 -07:00
Vijay Pai c7f2956b67
Revert "Add message-size check before message decompression" 2020-06-22 16:18:36 -07:00
Mark D. Roth 4d541fc30a
Merge pull request #23051 from markdroth/xds_config_selector2
Add ConfigSelector API.
2020-06-22 12:30:21 -07:00
Lidi Zheng 11a29eb95a Implement methods to access auth context and peer info 2020-06-22 12:14:39 -07:00
Yash Tibrewal d48d39c432
Merge pull request #23177 from yashykt/checksizebeforedecompress
Add message-size check before message decompression
2020-06-19 17:47:48 -07:00
Richard Belleville 4fcf9d01d2 Address review comments 2020-06-19 15:31:55 -07:00
Yash Tibrewal 0497ad8bb0 Add missing message-size check before decompressing
Add and fix tests for limit check before decompression

Code restructuring to allow easy reuse of service config call data

Regenerate projects

Reviewer comments
2020-06-19 14:49:18 -07:00
Mark D. Roth 133918ec70 Add ConfigSelector API. 2020-06-18 12:57:43 -07:00
Richard Belleville af222241a7 Give up on getting compiler executable from distutils 2020-06-18 10:40:31 -07:00
Richard Belleville edcf210050 Use proper compiler 2020-06-17 22:00:54 -07:00
Richard Belleville 08e117ae80 Improve build slightly 2020-06-17 16:12:59 -07:00
Richard Belleville 1f53f13446 Merge remote-tracking branch 'origin/master' into dynamic_stubs 2020-06-17 14:47:07 -07:00
Richard Belleville b821ff99a8 Initial working implementation 2020-06-13 00:11:43 +00:00
Lidi Zheng 72f2b99097 Guard _ChannelCallState.__del__ from cygrpc being deallocated early 2020-06-12 13:25:40 -07:00
Lidi Zheng c47bc1a709
Merge pull request #23045 from Skyscanner/issue-21953_use-metadata-type
[Aio] Use Metadata type
2020-06-12 12:45:25 -07:00
Lidi Zheng 8cd6ee6297
Merge pull request #23176 from lidizheng/fix-del
Avoid attribute error in __del__ of _ChannelCallState
2020-06-11 13:38:54 -07:00
Mariano Anaya 376c0f0767 Add missing metadata TypeError case
Code formatted.
2020-06-11 09:32:55 +02:00
Richard Belleville c483ece5dd
Merge pull request #23163 from gnossen/wait_for_ready_default
Default wait_for_ready to True in simple stubs
2020-06-10 16:37:26 -07:00
Richard Belleville 357c78c822 Simplify implementation 2020-06-10 11:54:26 -07:00
Richard Belleville 6344b2b97f Support infinite timeouts 2020-06-10 11:48:22 -07:00
Lidi Zheng 7294172c8f Avoid attribute error in __del__ from _ChannelCallState 2020-06-10 09:40:16 -07:00
Richard Belleville 80e834abab
Merge pull request #23107 from gnossen/contextvars_propagation
Propagate contextvars to auxiliary threads
2020-06-09 16:04:35 -07:00
Richard Belleville 25cdba8a70 Yapf 2020-06-08 12:50:33 -07:00
Richard Belleville 50cab884e1 Default wait_for_ready to True 2020-06-08 12:44:37 -07:00
Richard Belleville e329de88e7 Add failing test 2020-06-08 12:22:59 -07:00
Mariano Anaya 18e0f9f533 Remove metadata as optional from AioRpcError 2020-06-08 17:02:32 +02:00
Mariano Anaya 36f79adaf9 Remove references to the old MetadataType 2020-06-08 16:52:31 +02:00
Richard Belleville 27e1ccc92d
Merge pull request #23153 from gnossen/simple_trust_store
Simplify channel credentials in simple stubs
2020-06-05 16:26:00 -07:00
Richard Belleville bacbf3b85f Fix argument order 2020-06-05 14:43:45 -07:00
Srini Polavarapu 057091fe1f Regenerate projects 2020-06-05 13:54:32 -07:00
Richard Belleville a0e23e2123 Review comments 2020-06-05 12:30:09 -07:00
Richard Belleville e3ae621f64 Add insecure option 2020-06-05 11:33:36 -07:00
Richard Belleville 9f380bc16c Make SSL the default for simple stubs 2020-06-05 11:03:40 -07:00
Richard Belleville 9e5a91b3b9 A rare moment where I wish I had a Windows machine 2020-06-02 12:04:11 -07:00
Richard Belleville bc157d5eb5 Support Windows 2020-06-02 11:46:11 -07:00
Richard Belleville f4d4200127 Underscore 2020-06-02 10:39:40 -07:00
Mariano Anaya 6e83eb79f4 Apply formatting & fix typing 2020-06-02 12:38:46 +02:00
Mariano Anaya a6bf093af8 Use metadata types in the service context
Replace the signature to allow methods to use the metadata object.
Internally, they'll still wrap the data in a tuple, but the interface
makes it clear that the ``aio.Metadata()`` object is supported.

Remove the ``tuple(<metadata>)`` conversions done in the tests.
2020-06-02 11:49:57 +02:00
Mariano Anaya 8fcc77a310 [issue-21953] Improvements from review
* Replace ``MetadataType`` by ``Metadata`` in all places
* Fix annotations
* Use the new ``Metadata.from_tuple`` to create Metadata objects
2020-06-02 09:31:54 +02:00
Mariano Anaya e9dadf46bf [issue-24953] Fix tests, format, & types
Fixes https://github.com/grpc/grpc/issues/21953
2020-06-02 09:31:53 +02:00
Mariano Anaya e04fcd2998 [issue-21953] Use the Metadata type
In all places where a tuple was used for metadata (in the aio version),
replace it by the new ``Metadata`` class.
2020-06-02 09:30:55 +02:00
Pau Freixes 7d4ce583f9
Merge pull request #23092 from grpc/client_interceptor_bi_streaming
Add Aio stream stream client interceptor support
2020-06-02 01:06:12 +02:00
Richard Belleville c843c18801 Actually change the implementation 2020-06-01 15:28:25 -07:00
Pau Freixes b4afe041f1 Fixed weird annotation issues with pytype 2020-06-01 23:19:30 +02:00
Pau Freixes c8b7f22474 Apply feedback review 2020-06-01 21:53:14 +02:00
Richard Belleville 3ade93b447 Add TODOs 2020-06-01 12:19:06 -07:00
Richard Belleville 8487ce7faf Propagate on posix 2020-06-01 12:05:15 -07:00
Pau Freixes f9d9793c96 Apply review feedback 2020-05-30 22:34:45 +02:00
Pau Freixes b3425f6dbf Add stream stream client interceptor support
This was the last missing arity which did not have support yet for
the interceptors in the client side for the Aio package. This commit
adds specific support for this interceptro which allows the deveveloper
to intercept the request iterator and the response iterator.
2020-05-29 21:32:24 +02:00
Mark D. Roth 3bb427195e Revert "Merge pull request #23053 from grpc/revert-22772-gpr_strvec"
This reverts commit 4b7452bcdb, reversing
changes made to 133d0076b4.
2020-05-28 11:13:12 -07:00
Mark D. Roth afe7c74d6d
Merge pull request #23013 from markdroth/xds_config_selector
Refactor ServiceConfig code to pave the way for adding a ConfigSelector API
2020-05-28 09:52:32 -07:00
Mark D. Roth aed6574023 Refactor ServiceConfig code to move parsing to its own API. 2020-05-28 07:15:28 -07:00
Karthik Ravi Shankar f46c07f3f8
Revert "Remove gpr_strvec." 2020-05-26 17:25:45 -07:00
Mark D. Roth 3db250de10
Merge pull request #22772 from markdroth/gpr_strvec
Remove gpr_strvec.
2020-05-21 13:18:40 -07:00
Mark D. Roth c2ef110303 Replace gpr_strvec with absl::StrJoin(). 2020-05-21 08:47:41 -07:00
Srini Polavarapu ce52c1dd71 update boringssl 2020-05-20 14:57:25 -07:00
Lidi Zheng 60eea82fbf
Merge pull request #22604 from dhalperi/patch-1
gRPC docs: remove mention of Python 2.7
2020-05-15 10:37:43 -07:00
Lidi Zheng 698a5a8869
Merge pull request #22770 from grpc/revert-22759-revert-22688-aio-status
Revert "Revert "[Aio] Add AsyncIO support to grpcio-status""
2020-05-14 14:09:01 -07:00
Lidi Zheng 7eeab2a23c Describe the expectations of input arguments and return values 2020-05-12 12:52:27 -07:00
Lidi Zheng ef6ff6dcfd Make linters happy 2020-05-12 10:43:12 -07:00
Lidi Zheng 028a7c4e79 Add test cases for server interceptors 2020-05-11 13:59:44 -07:00
Lidi Zheng f7591a3426
Merge pull request #22855 from lidizheng/stop-leak
Stop memory leak when Python channel is deallocated without invoking "close"
2020-05-08 16:19:47 -07:00
Lidi Zheng e844f30101 Close Core's channel when there is no reference to the channel 2020-05-08 13:43:10 -07:00
Mark D. Roth c769951764 Remove deprecated variant of JoinHostPort(). 2020-05-08 09:13:26 -07:00
Mark D. Roth 7b3590d543
Merge pull request #22854 from markdroth/xds_lrs_send_all_clusters
xds: Add support for send_all_clusters field in LRS.
2020-05-06 09:33:41 -07:00
yihuaz 4efeb8f1fd
Merge pull request #22638 from tgalkovskyi/master
Expose ALTS client/server credentials in Python API
2020-05-04 12:57:50 -07:00
Pau Freixes b6f4feb64c
Merge pull request #22821 from Skyscanner/stream_unary_client_interceptor
[Aio] Stream Unary client interceptor
2020-05-04 21:15:02 +02:00
Mark D. Roth b95843c1b7 xds: Add support for send_all_clusters field in LRS. 2020-05-04 11:16:52 -07:00
Lidi Zheng f6e6b9f640 Fix the pylint complain 2020-04-30 15:16:32 -07:00
Lidi Zheng ae73ab5190
Merge pull request #22812 from lidizheng/aio-mixed-server
[Aio] Make sync handlers runnable in AsyncIO server
2020-04-30 15:03:30 -07:00
Pau Freixes 39d8fa3f0b Apply feedback review 2020-04-30 22:40:53 +02:00
Taras Galkovskyi f375c0b548 minor stylistic fixes 2020-04-30 18:58:44 +00:00
Nicolas "Pixel" Noble 791729d09f Bumping version. 2020-04-30 08:12:29 +02:00
Lidi Zheng fb60bf235e Synchonize the production and consumption of request messages 2020-04-29 16:11:55 -07:00
Taras Galkovskyi 469631f549 run yapf; delete alts unit tests 2020-04-29 22:50:35 +00:00
Lidi Zheng 8be1251e2c Remove read/write API && simplify the logic of getting the pool 2020-04-29 15:37:15 -07:00
Lidi Zheng d40c1b8408 Fix the error on mac and win && make pytype happy 2020-04-29 15:24:19 -07:00
Lidi Zheng df065d41fa Make sync handlers runnable in AsyncIO server 2020-04-29 15:24:19 -07:00
Pau Freixes 7b869e8442 Use message constant 2020-04-29 23:12:02 +02:00
Pau Freixes b9558026b1 Improve message redability 2020-04-29 23:10:32 +02:00
Pau Freixes 32acd9d5fd [Aio] Stream Unary client interceptor
Add support for Stream Unary client interceptor
2020-04-29 22:55:50 +02:00
Lidi Zheng 025ebf7d07 Revert "Revert "[Aio] Add AsyncIO support to grpcio-status"" 2020-04-29 11:43:03 -07:00
Taras Galkovskyi 2cf920ba0b Merge branch 'master' of git://github.com/grpc/grpc 2020-04-29 14:37:35 +00:00
Mark D. Roth d74548e611 Remove StringViewToCString() and src/core/lib/gprpp/string_view.h 2020-04-27 12:28:28 -07:00
Lidi Zheng da5022de6a
Merge pull request #22745 from lidizheng/doc-channel-args
Explain how to find channel arguments in our doc
2020-04-23 16:18:59 -07:00
Lidi Zheng f8f425bcc9
Merge pull request #22758 from lidizheng/aio-cq-shutdown
[Aio] Make completion queue shutdown stricter
2020-04-23 16:02:27 -07:00
Lidi Zheng 77811ef323 Make completion queue shutdown stricter 2020-04-23 13:51:22 -07:00
Lidi Zheng 82c586bb3c
Revert "[Aio] Add AsyncIO support to grpcio-status" 2020-04-23 13:06:11 -07:00
Lidi Zheng d3805e1b6c Explain how to find channel arguments in our doc 2020-04-22 16:19:42 -07:00
Lidi Zheng 372d990f4a
Merge pull request #22738 from lidizheng/doc-wtr
Document wait_for_ready mechanism in Python's glossary
2020-04-22 16:03:37 -07:00
Lidi Zheng 4e7f3376d8
Merge pull request #22688 from lidizheng/aio-status
[Aio] Add AsyncIO support to grpcio-status
2020-04-22 13:47:45 -07:00
Lidi Zheng c1df38f2b9 Document wait_for_ready mechanism in Python's glossary 2020-04-22 13:38:22 -07:00
Pau Freixes 11e41537a5
Merge pull request #22713 from Skyscanner/client_unary_stream_interceptor
[Aio] Implement the Unary Stream client interceptor
2020-04-21 22:25:22 +02:00
Pau Freixes 20898aa2f2 Fix type issue 2020-04-21 16:45:33 +02:00
Muxi Yan 006c815810
Merge pull request #22687 from grpc/revert-22684-revert-22423-objc-poller
Revert "Revert "Introduce CFRunLoop based iomgr""
2020-04-20 15:58:26 -07:00
Pau Freixes f07e0da6dd Make YAPF happy 2020-04-20 23:25:59 +02:00
Pau Freixes dae80a4977 Apply feedback 2020-04-20 23:24:54 +02:00
Pau Freixes 2aea5c002b [Aio] Implement the Unary Stream client interceptor
Add support for adding intercetpors for the Unary Stream arity at
client level.
2020-04-20 15:38:40 +02:00
Lidi Zheng 916f6db913
Merge branch 'master' into aio-status 2020-04-17 13:13:12 -07:00
donnadionne baa442e6e4
Merge pull request #22280 from donnadionne/route_response
Xds Routing LB Policy
2020-04-17 12:45:39 -07:00
Yash Tibrewal b7941bedf3
Merge pull request #22575 from yashykt/newfilter
Move decompression into gRPC Core
2020-04-16 15:21:01 -07:00
Lidi Zheng 95b4f22475 Add AsyncIO support to grpcio-status 2020-04-16 13:37:33 -07:00
Donna Dionne 584b35055e Merge remote-tracking branch 'upstream/master' into route_response 2020-04-16 13:10:15 -07:00
Muxi Yan eb7779c20c
Revert "Revert "Introduce CFRunLoop based iomgr"" 2020-04-16 13:07:55 -07:00
Muxi Yan 881439476c
Merge pull request #22684 from grpc/revert-22423-objc-poller
Revert "Introduce CFRunLoop based iomgr"
2020-04-16 13:07:48 -07:00
Yash Tibrewal e24bb3a6ef Regenerate projects 2020-04-16 11:46:29 -07:00
Lidi Zheng ebfa9e7e51
Merge pull request #22665 from lidizheng/aio-unary-none
[Aio] Handle the empty response with error code from server handler
2020-04-16 10:20:38 -07:00
Muxi Yan 0e0db09613
Revert "Introduce CFRunLoop based iomgr" 2020-04-16 08:54:07 -07:00
Lidi Zheng 9503b68a8b Discards response message with non-OK status 2020-04-15 16:13:12 -07:00
Lidi Zheng 51e38fa508 Allow "None" as response message with none-OK status 2020-04-15 15:26:07 -07:00
Lidi Zheng cc04b8aaf0
Merge pull request #22677 from lidizheng/aio-codec-doc
Improve the documentation for serializer and deserializer
2020-04-15 15:22:10 -07:00
Taras Galkovskyi 42bd106898 updating comments to make clear that ALTS is only supported on GCP 2020-04-15 22:14:08 +00:00
Muxi Yan 7f36ff039f
Merge pull request #22423 from muxi/objc-poller
Introduce CFRunLoop based iomgr
2020-04-15 14:30:43 -07:00
Lidi Zheng 6e0ac50b09 Improve the documentation for serializer and deserializer 2020-04-15 14:04:52 -07:00
Lidi Zheng 17d75dde69 Simplify logic around send message operation 2020-04-15 12:45:29 -07:00
Taras Galkovskyi 3ff24dd63a Merge branch 'master' of git://github.com/grpc/grpc 2020-04-15 18:18:51 +00:00
Taras Galkovskyi 02da3330c2 address review comments 2020-04-15 18:13:04 +00:00
Muxi Yan b96895bf9d Add apple_ev iomgr 2020-04-15 11:06:53 -07:00
Lidi Zheng 3e187feca0 Fix the inaccurate cancel injection 2020-04-14 16:42:35 -07:00
Lidi Zheng 9b4070a380 Fix the None return case 2020-04-14 15:42:52 -07:00
Yash Tibrewal 3c34eae97e Move decompression into gRPC Core 2020-04-10 16:43:29 -07:00
Taras Galkovskyi 83ada3b598 adjusting formatting & tests 2020-04-10 14:20:27 +00:00
Taras Galkovskyi 2b3eca0858 adding api to configure target service accounts for client ALTS 2020-04-10 14:09:17 +00:00
Donna Dionne f5fd631a9c Merge remote-tracking branch 'upstream/master' into route_response 2020-04-09 11:10:28 -07:00
Mark D. Roth 80b74811d4
Merge pull request #22117 from markdroth/xdslb_refactor
Refactor xds LB policy
2020-04-08 07:28:49 -07:00
Mark D. Roth f8f6034d1a Refactor xds LB policy 2020-04-07 14:03:01 -07:00
Lidi Zheng e50c9a8e2e Fix typo in the comment 2020-04-07 13:54:21 -07:00
Dan Halperin cdc1c1afaf
gRPC docs: remove mention of Python 2.7
It's April now, docs looking forward to January seem outdated.
2020-04-07 08:23:33 -07:00
Taras Galkovskyi d84d53f901 fix comment 2020-04-07 00:26:23 +00:00
Taras Galkovskyi 828ee320a4 Expose ALTS client/server credentials on Python layer 2020-04-07 00:14:41 +00:00
Lidi Zheng 4eb596446d Resolve conflict with master 2020-04-06 16:11:13 -07:00
Lidi Zheng 2b6037f113 Rename to wait_for_conneciton && Add to unary-unary RPC 2020-04-06 16:10:07 -07:00
Lidi Zheng 58beda2f73 Add try_connect API to StreamUnaryCall 2020-04-06 16:09:07 -07:00
Lidi Zheng c07520a350 Mark it as experimental 2020-04-06 16:09:07 -07:00
Lidi Zheng 41866c1250 Add try_connect API for UnaryStreamCall and StreamStreamCall 2020-04-06 16:09:07 -07:00
Donna Dionne c0c7f1dae3 Fix build and test failures
Including the following
All all needed BUILD changes to include new xdsRouting
Fixed TSAN errors
AllServerUnavailableFailFast may return UNKNOWN as oppose UNAVAILABLE
ChooseLastRoute modified into 2 tests
2020-04-06 16:05:04 -07:00
Lidi Zheng 6f00de087f Aggregate common statement in both branches 2020-04-03 15:13:26 -07:00
Lidi Zheng e00eb2fec2 Make pylint happy 2020-04-03 11:37:56 -07:00
Lidi Zheng 8b1a6c8f45 Accepts normal iterable of request messages 2020-04-03 11:37:56 -07:00
Richard Belleville 0ec32634fb
Merge pull request #22549 from gnossen/simple_stubs_3_6_and_up
Add version check for Python 3.6 to simple stubs
2020-04-02 14:08:36 -07:00
Lidi Zheng 006aafea85
Merge pull request #22541 from lidizheng/aio-poller-shutdown-error
[Aio] Fix AttributeError during deallocation of the completion queue
2020-04-02 13:09:23 -07:00
Richard Belleville f15a6bf6e4 Add version check for Python 3.6 to simple stubs 2020-04-01 23:34:14 -07:00
Lidi Zheng 386977ff41 Annotate metadata variable as Tuple instead of Sequence 2020-04-01 15:16:55 -07:00
Lidi Zheng 5cab833808 Make sanity tests happy 2020-04-01 15:11:26 -07:00
Lidi Zheng 2c24272bbd Cast the complete queue to sub class to avoid AttributeError 2020-04-01 14:30:15 -07:00
Lidi Zheng ee31a696ab Cast metadata to tuple 2020-04-01 13:25:33 -07:00
Mark D. Roth 03411d7be7 Second attempt: grpclb stabilization 2020-03-31 07:52:44 -07:00
Lidi Zheng cb5fdce2bf Improve readability and fix wording 2020-03-26 10:35:32 -07:00
Lidi Zheng 5182e9f07f Eliminates suspicious exceptions in test logs 2020-03-25 17:45:45 -07:00
Lidi Zheng 1e6c9b4c6d
Merge pull request #22482 from lidizheng/aio-no-info
[Aio] Eliminate info level logs
2020-03-25 17:16:36 -07:00
Lidi Zheng b5b47ce7c7 Upgrade the server stop log to warning 2020-03-25 16:00:50 -07:00
Lidi Zheng 0961c5de0b
Merge pull request #22306 from Skyscanner/issue-21953_type-of-metadata
[Aio] Initial modelling of the metadata abstraction
2020-03-25 15:10:51 -07:00
Lidi Zheng 79497f8059 Downgrade info logs to debug 2020-03-25 15:09:21 -07:00
Mariano Anaya 2be1ec9c6e [issue21953] Move tests to the aio part
* Export the new metadata type through the ``__init__.py``
* Move the tests from the old location to the new one for the
asynchronous stack.
2020-03-25 10:03:14 +01:00
Mariano Anaya 3bf67c4253 [issue21953] Fix typing in Metadata class definitions 2020-03-25 10:03:14 +01:00
Mariano Anaya 6891169b58 Apply PR feedback
* Fix the length of the object to account for all the keys it holds
(consider it's a multi-mapping)
* Add support for deleting items
* Make test stricter
2020-03-25 10:03:14 +01:00
Mariano Anaya 1f2d916386 [aio] Metadata type: Fix tests & __repr__ 2020-03-25 10:03:14 +01:00
Mariano Anaya 0be36ed606 Add mutability to the MetadataType 2020-03-25 10:03:14 +01:00
Mariano Anaya 7d88c61f57 Initial modelling of the metadata abstraction
Create the initial version for the abstraction for the Metadata based on
the discussion at https://github.com/grpc/grpc/issues/21953
2020-03-25 10:03:14 +01:00
Lidi Zheng 52634fb7be Correct the docstring and implementation of AuthMetadataPlugin 2020-03-24 15:59:10 -07:00
Lidi Zheng b73b389dd1 Change the default IO engine to poller 2020-03-23 10:21:33 -07:00
Lidi Zheng 39c4fd7972
Merge pull request #22343 from lidizheng/async-unary-unary-credentials-tests
[Aio] Extend unit tests for async credentials calls
2020-03-19 14:53:21 -07:00
Lidi Zheng ae0dc69cb1 Fix the typo; I got the wrong branch and waited two hours 2020-03-19 13:19:41 -07:00
Lidi Zheng 69fa971183
Merge pull request #22405 from lidizheng/annotate-context-manager
Annotate channel context manager methods to make pytype happy
2020-03-18 13:30:21 -07:00
Richard Belleville 85d25bd990
Merge pull request #22104 from gnossen/xds-python-client
Implement Python xDS interop client.
2020-03-18 13:07:50 -07:00
Lidi Zheng 158a68f4f0 Annotate channel context manager methods to make pytype happy 2020-03-18 11:49:26 -07:00
Lidi Zheng 46bb3769a9 Override the auth plugin behavior 2020-03-18 10:13:05 -07:00
Lidi Zheng d6bd3c37b2 Use mutex to protect queue operations 2020-03-17 15:32:38 -07:00
Lidi Zheng 030b1b6a84 Update the pxd as well 2020-03-17 13:28:24 -07:00
Lidi Zheng 82050ae192 Initialize credentials after IO engine set 2020-03-17 13:23:11 -07:00
Lidi Zheng 1a0655d75c Add comment about why we can't use cimport 2020-03-17 10:55:52 -07:00
Lidi Zheng 65930d4be9 Remove the socket reader in shutdown 2020-03-17 10:40:05 -07:00
Mariano Anaya dff4a30b6c Fix build & address review comments
Fixes https://github.com/grpc/grpc/issues/20532
2020-03-16 16:09:36 -07:00
Mariano Anaya 33e15156bb [WIP] Feedback on the PR 2020-03-16 16:09:36 -07:00
Mariano Anaya f2aad7e54c Extend tests for secure channels & credentials 2020-03-16 16:09:36 -07:00
Mariano Anaya a1bb0bc6f8 Set error description 2020-03-16 16:09:36 -07:00
Mariano Anaya 764be7ed92 Improve error message by including the error code 2020-03-16 16:09:36 -07:00
Mariano Anaya 88e922c03f Make the server test use SSL credentials 2020-03-16 16:09:36 -07:00
Mariano Anaya f44e4e2138 Renames according to PR comments 2020-03-16 16:09:36 -07:00
Lidi Zheng c82f28d428 Use socket to synchronize cq and asyncio 2020-03-16 15:42:31 -07:00
Lidi Zheng 5d1651ff65 Don't graceful shutdown cq to avoid the deadlock 2020-03-16 11:10:07 -07:00
Lidi Zheng 7622a2de38 Improve readability & fix a deadlock issue in _test_base 2020-03-13 15:56:25 -07:00
Richard Belleville 651f850076 Merge remote-tracking branch 'origin/master' into peers_method 2020-03-13 20:31:27 +00:00
Lidi Zheng 7a51ca3330 Plumb through loop object & pass daemon=Ture in constructor 2020-03-13 11:59:35 -07:00
Lidi Zheng 8fc872ed2e Enforce one cq and support many-thread many-loop env
- Label channel_argument_test as flaky

- Add compatibility test

- Add many-loop test case
2020-03-13 11:47:30 -07:00
Lidi Zheng fda2111af7
Merge pull request #22258 from lidizheng/aio-cq
[Aio] Add an alternative mode for the AsyncIO Stack
2020-03-13 11:40:20 -07:00
Richard Belleville 9ef83ee539 Merge remote-tracking branch 'origin/master' into peers_method 2020-03-12 20:30:08 +00:00
Lidi Zheng 4741da3a11 Remove unused variable 2020-03-10 10:26:46 -07:00
Richard Belleville df1761ce50
Merge pull request #22218 from gnossen/simple_stubs_codegen
Generate simple stubs code
2020-03-09 19:04:13 -07:00
Richard Belleville f27b7fea21 Format 2020-03-09 17:25:00 -07:00
Richard Belleville 4e2ad2444d Remove the default value for simple stubs 2020-03-09 17:03:55 -07:00
Lidi Zheng 5b1ecef47f Simplify the Cython code 2020-03-09 15:38:34 -07:00
Lidi Zheng 5246a7c8ff Link to a TODO issue 2020-03-09 15:20:06 -07:00
Lidi Zheng 231f9c0c94 Improve readability 2020-03-09 15:20:06 -07:00