Lidi Zheng
6c6463e1cd
Add retry example for gRPC Python ( #26829 )
...
* Add retry example for gRPC Python
* Make sanity test happy && simplfy proto definition
* Fix a grammer issue
3 years ago
Lidi Zheng
2231c2ba77
Introduce Python import sorting to our sanity test suite ( #26768 )
...
* Add isort_code.sh to sanity tests
* Run tools/distrib/isort_code.sh
* Fine tune the import order for relative imports
* Make pylint and project generation happy
* Fix a few corner cases
* Use --check instead of --diff
* The import order impacts test result somehow
* Make isort print diff and check output at the same time
* Let tools/run_tests/python_utils be firstparty library
* Run isort against latest HEAD
3 years ago
Lidi Zheng
933b10d2a8
Add a correct graceful shutdwon example for the asyncio API ( #26622 )
3 years ago
Sergii Tkachenko
8db79e2e71
Python style: reformat code using updated yapf 0.30.0
4 years ago
Lidi Zheng
40a5a655af
Polish and add AsyncIO examples
...
* Add type annotations
* Add test for asyncio auth example
* Use dynamic stubs to allow same code runs manually and under Bazel
* Add grpcio-tools as a Bazel dependency
* asyncio.run is not yet existed in 3.6
* Improve readability
4 years ago
Tim Hughes
80799468bd
lint
4 years ago
Tim Hughes
0b3fc20b83
clean up docstrings and remove unused imports
4 years ago
Tim Hughes
7aff6c4555
dont need ThreadPoolExecutor in asyncio
4 years ago
Tim Hughes
cef8dbf27c
Adds python aio helloworld examples
4 years ago
Richard Belleville
a362c2566d
Revert examples
4 years ago
Richard Belleville
d35b24bd60
Use dynamic stubs in helloworld example
5 years ago
Richard Belleville
e32980fba2
Quit waiting for a day
5 years ago
Lidi Zheng
1e62124cfb
Revert changes to helloworld example
5 years ago
Lidi Zheng
518b55a433
Simplify implementation
5 years ago
Lidi Zheng
5fc0547a94
Add basicConfig to prepare to log future exception
6 years ago
ncteisen
848a749f7a
yapf examples/python
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nathaniel Manista
c15ee83882
Update Python examples with fresh generated code
8 years ago
Nathaniel Manista
46585e23f1
Update examples to GA API
9 years ago
Masood Malekghassemi
77ebadc662
Add grace=0 to server stop in Python example
...
Fixes #4122
9 years ago
Nathaniel Manista
061d288f55
Beta Python documentation correction and update
9 years ago
Stanley Cheung
20fa6693f3
move examples to correct locations
9 years ago
Stanley Cheung
6905915db1
prepare for move
9 years ago
Jan Tattermusch
7dfd4abba5
added python helloworld
10 years ago
Tim Emiola
49f3ccdd01
Adds a helloworld sample in ruby.
10 years ago