y-yagi
c019835d6f
[doc] Fix a broken link to `ProtoReflectionDescriptorDatabase` ( #35204 )
...
Closes #35204
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35204 from y-yagi:patch-1 7c5d9e6fa6
PiperOrigin-RevId: 591176455
12 months ago
paskozdilar
5b3da1a630
[doc] Update glossary link to grpc_arg_keys ( #34771 )
...
I have created an [issue on grpc.io
repository](https://github.com/grpc/grpc.io/issues/1212 ), and they have
pointed me towards this repository.
Currently, in the Python documentation glossary, the [channel
arguments](https://grpc.github.io/grpc/python/glossary.html#term-channel_arguments )
section contains a link to [header file
grpc_types.h](https://github.com/grpc/grpc/blob/v1.58.x/include/grpc/impl/codegen/grpc_types.h )
which is almost empty, and doesn't contain relevant information.
This PR fixes the invalid link in the Python glossary of gRPC
documentation, by replacing it with
[channel_arg_names.h](https://github.com/grpc/grpc/blob/v1.58.x/include/grpc/impl/channel_arg_names.h )
which contains the relevant information.
1 year ago
Xuan Wang
1138e3f83b
[Documentation] Fix Python documentation CSS ( #33908 )
...
Fix python documentation website sidebar.
### Before:
<img width="1168" alt="Screenshot 2023-07-27 at 4 49 25 PM"
src="https://github.com/grpc/grpc/assets/24593237/1434ac63-7fc3-4f5c-a931-9a939fb67de6 ">
### After:
![Screenshot 2023-07-28 at 1 04 01
PM](https://github.com/grpc/grpc/assets/24593237/c7cc16b6-926f-4c8b-bc54-6cedfebb62b4 )
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
1 year ago
Xuan Wang
40f20c0f48
[Python fix-it][Aysnc Example] Adding examples for aysnc interceptor context propagaton ( #32840 )
...
### Description
Fix https://github.com/grpc/grpc/issues/24470 .
Adding one example which demonstrate the following use cases:
* Generate RPC ID on client side and propagate to server.
* Context propagation from client to server.
* Context propagation between different server interceptors and the
server handler.
## Use:
1. Start server: `python3 -m async_greeter_server_with_interceptor`
2. Start client: `python3 -m async_greeter_client`
### Expected Logs:
* On client side:
```
Sending request with rpc id: 73bb98beff10c2dd7b9f2252a1e2039e
Greeter client received: Hello, you!
```
* On server side:
```
INFO:root:Starting server on [::]:50051
INFO:root:Interceptor1 called with rpc_id: default
INFO:root:Interceptor2 called with rpc_id: Interceptor1-default
INFO:root:Handle rpc with id Interceptor2-Interceptor1-73bb98beff10c2dd7b9f2252a1e2039e in server handler.
```
2 years ago
AJ Heller
007c4073c8
[documentation] Fix documentation build script by mocking python dependencies ( #32398 )
...
cc @markdroth
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
2 years ago
tomerv
2953b4518a
Add Python Reflection Client ( #29085 )
...
Implement ProtoReflectionDescriptorDatabase in Python to support
client-side reflection sevices.
See gRFC L95.
3 years ago
AJ Heller
36824bc570
Revert "Revert "Revert "Add Python Reflection Client ( #28443 )" ( #28878 )" ( #28879 )" ( #29023 )
...
This reverts commit cf9be3d49d
.
3 years ago
Lidi Zheng
cf9be3d49d
Revert "Revert "Add Python Reflection Client ( #28443 )" ( #28878 )" ( #28879 )
...
This reverts commit 1b4b3764ba
.
3 years ago
AJ Heller
1b4b3764ba
Revert "Add Python Reflection Client ( #28443 )" ( #28878 )
...
This reverts commit 3e8e229308
.
3 years ago
tomerv
3e8e229308
Add Python Reflection Client ( #28443 )
...
* Add Python Reflection Client
Implement ProtoReflectionDescriptorDatabase in Python to support
client-side reflection sevices.
* fixup: following code review
* fixup: following code review
Mostly improve documentation.
* fixup: add test to tests.json
* fixup: formatter & linter
3 years ago
Lidi Zheng
25f5399b41
Add grpcio-admin Python package ( #26166 )
...
* Add grpcio-admin Python package
* Polish package content
* Make Linux artifact build happy
* Improve documentation
4 years ago
Lidi Zheng
3de737cf8f
Add Metadata to our doc generation ( #25922 )
4 years ago
Lidi Zheng
b65679bb74
Include AsyncIO interceptors in generated doc
4 years ago
Patrice Chalin
d109c5be50
Link to Python gRPC page on grpc.io
...
The newly updated [gRPC Python](https://grpc.io/docs/languages/python/ ) page, contains links to the quick start, tutorial, examples and more! Link directly to that page, rather than refer to only part of its contents.
4 years ago
Lidi Zheng
7c8d1b2150
Remove the experimental prefix for asyncio API in Sphinx rst script
4 years ago
Richard Belleville
2c1efcd0ae
Add documentation
4 years ago
Richard Belleville
0eabc3ec74
Add to Python documentation
4 years ago
Lidi Zheng
b9088ee9dd
Address comments
5 years ago
Lidi Zheng
8bcffaa5ca
Hide init_grpc_aio and guard async API outside of AsyncIO context
5 years ago
Patrice Chalin
5ac3aa789f
Docs: fix links to grpc.io tutorial pages
5 years ago
Patrice Chalin
4c4933e056
Docs: fix links to quick start pages
5 years ago
Lidi Zheng
004a3c3253
Weaken our promise
5 years ago
Lidi Zheng
dc3eb43ae6
It might be experimental
5 years ago
Lidi Zheng
6c2542150c
Format the rst file
5 years ago
Lidi Zheng
c57a3792a0
Remove unused extension
5 years ago
Lidi Zheng
6b2239ed40
Generate corresponding grpc_types.h link
5 years ago
Lidi Zheng
d3805e1b6c
Explain how to find channel arguments in our doc
5 years ago
Lidi Zheng
f7d71ccfa6
Update the glossary
5 years ago
Lidi Zheng
c1df38f2b9
Document wait_for_ready mechanism in Python's glossary
5 years ago
Lidi Zheng
6e0ac50b09
Improve the documentation for serializer and deserializer
5 years ago
Lidi Zheng
12b0ddbc2b
Improve the documentation based on suggestions
5 years ago
Lidi Zheng
1945c1108f
Move the docstring from Cython to rst
5 years ago
Lidi Zheng
d743e4390a
Fill-in missing interfaces & improve rst template
5 years ago
Lidi Zheng
e62afd7ed2
Polish the grpc_asyncio.rst
5 years ago
Lidi Zheng
5326f8623d
Update sphinx configuration
5 years ago
Yushiro FURUKAWA
61360c754b
Remove trailing-spaces from doc/*
5 years ago
Lidi Zheng
cc628584a6
Fix the Sphinx auto generation
5 years ago
Lidi Zheng
83ae68c5f0
Document the local credentials
5 years ago
curiousjazz77
e09e4d002d
fix broken link and move links to bottom
5 years ago
Richard Belleville
f900eec41d
Revert "Merge pull request #18727 from grpc/revert_compression"
...
This reverts commit 8054a731d1
, reversing
changes made to c3d3cf8053
.
6 years ago
Richard Belleville
167540efd4
Revert "Merge pull request #18564 from grpc/compression"
...
This reverts commit 9dfeb14be0
, reversing
changes made to 7009f2df58
.
6 years ago
Richard Belleville
5afd77398e
Implement compression API within gRPC Python.
6 years ago
Lidi Zheng
a7b2ed3b98
Add documentation for 'grpcio-status' package
6 years ago
Richard Belleville
dd4830eae8
Make gRPC version string available as grpc.__version__
6 years ago
Lidi Zheng
43599facf4
Channelz Python wrapper implementation
...
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests
Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
6 years ago
Lidi Zheng
b1b669300f
Update Python documentation
...
* Reorganize the section titles
* Add Tutorial and Example
6 years ago
Lidi Zheng
cabe8d8f10
New Python documentation generation
...
* Use templates instead of generating them every time
* Theme changed
* Add grpc_* modules
* APIs grouped
* No documentation for class members without docstring
* Add docstring for status code
6 years ago
Mehrdad Afshari
5ffb9bf8c4
Add server reflection guide for Python
6 years ago