Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L58: Async API for gRPC Python #155

Merged
merged 28 commits into from May 26, 2020
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6e757a3
Draft of Async API for gRPC Python
lidizheng Jul 10, 2019
6cb840c
Polish wording
lidizheng Jul 22, 2019
2f120be
Add related issues
lidizheng Jul 22, 2019
a1a486e
Add demo code snippet
lidizheng Jul 22, 2019
600dc5e
Add grpc-io discussion link
lidizheng Jul 22, 2019
7e10026
Correct comment in code snippet
lidizheng Jul 22, 2019
7d7f0f3
Adopt reviewers advice
lidizheng Jul 23, 2019
8cad046
Adopt reviewer's advice and resolve some discussion
lidizheng Aug 8, 2019
3f96660
Fix some wording
lidizheng Aug 8, 2019
cfcf86b
Fix some typo
lidizheng Aug 8, 2019
4cce833
Summarize discussion and adding concensus to the proposal
lidizheng Oct 1, 2019
dd7bc71
Add definition of grpc.aio.EOF
lidizheng Oct 1, 2019
6c7c12a
Expand the definition of EOF
lidizheng Oct 2, 2019
4f37444
Fix the function signature of interceptors to be async
lidizheng Oct 2, 2019
6bd2c9c
Fix a spelling error
lidizheng Oct 2, 2019
7f5b625
Add check_connectivity_state and watch_connectivity_state
lidizheng Oct 2, 2019
2b8dd48
Fix typing in API interfaces
lidizheng Oct 4, 2019
34a5e6b
Make the add_done_callback signature consistent with Future
lidizheng Oct 4, 2019
fe0a88d
Fix typo
lidizheng Oct 14, 2019
cca5c47
Remove subscribe & unsubscribe from channel object
lidizheng Oct 14, 2019
c6b6451
Update the code snippets for async-iter API
lidizheng Oct 14, 2019
d51b0a8
Add done_writing API to grpc.aio.Call
lidizheng Oct 18, 2019
a878cd2
Reduce confusion caused by the snippet
lidizheng Oct 18, 2019
2c18bf3
Style the example snippets
lidizheng Nov 5, 2019
d15ff9f
Update the client-side interfaces
lidizheng Jan 22, 2020
b9074db
Fix code snippet: "Greeter" -> "AsyncGreeter"
lidizheng Jan 23, 2020
235c477
Fix typos & adding 'New Exceptions' section
lidizheng Jan 29, 2020
16516df
Prepare the proposal for merging
lidizheng May 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions L58-python-async-api.md
Expand Up @@ -1660,6 +1660,11 @@ class StreamStreamClientInterceptor:

### Utility Functions

```Python
# grpc.aio.EOF is a unique object per process that evaluates to False
(grpc.aio.EOF or False) == False
lidizheng marked this conversation as resolved.
Show resolved Hide resolved
```

```Python
# grpc.aio.channel_ready
async def channel_ready(channel: grpc.aio.Channel) -> None:
Expand Down