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
4 years ago
Sergii Tkachenko
8db79e2e71
Python style: reformat code using updated yapf 0.30.0
4 years ago
Lidi Zheng
e6dffc6fbe
Adding three more AsyncIO examples
...
* Channelz or Debug
* Route guide
* Wait for ready
4 years ago
Richard Belleville
14d6850f5a
And remove it too
4 years ago
Richard Belleville
3dad0eb862
Oops
4 years ago
Richard Belleville
897f97212a
Add -x to shell script
4 years ago
Richard Belleville
7821040586
Modernize run_codegen script
4 years ago
Richard Belleville
a362c2566d
Revert examples
5 years ago
Richard Belleville
dc9e20665e
Copy proto files instead of adding to sys.path
5 years ago
Richard Belleville
c2c5057e9d
Fix up examples
5 years ago
Richard Belleville
999bbf1401
Format
5 years ago
Patrice Chalin
5ac3aa789f
Docs: fix links to grpc.io tutorial pages
5 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Richard Belleville
135b94913f
Yapf
5 years ago
Richard Belleville
7aeec822fe
Migrate route guide to dynamic stubs
5 years ago
Richard Belleville
e32980fba2
Quit waiting for a day
6 years ago
Lidi Zheng
5fc0547a94
Add basicConfig to prepare to log future exception
6 years ago
Nathaniel Manista
8234d14113
Close channels in examples
7 years ago
Jan Tattermusch
a26aecc03b
reimplement distance calculation in routeguide
7 years ago
Mehrdad Afshari
87cd994b04
Upgrade yapf to 0.20.0
...
Upgrade yapf version to 0.20.0 and reformat Python files.
7 years ago
ncteisen
848a749f7a
yapf examples/python
7 years ago
Mehrdad Afshari
36f60a9cc1
Kill off unnecessary sleep in route_guide example
7 years ago
Nathaniel Manista
61efbcd27a
Regenerate example Python generated code
8 years ago
Mehrdad Afshari
bb3d95b643
Use https://grpc.io consistently as the canonical URL
8 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
Masood Malekghassemi
7ba3527ffe
Un-namespace Python packages
...
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
8 years ago
Masood Malekghassemi
fb261bf748
Un-namespace Python packages
...
Setuptools was updated and our hacky namespace-package-chickens came
back to roost. This removes the unsupported namespace package hacks.
8 years ago
Nathaniel Manista
2fd19a6f4d
Upgrade one forgotten example code site to GA API
...
This should have been included in 46585e23f1
.
9 years ago
Nathaniel Manista
46585e23f1
Update examples to GA API
9 years ago
Ken Payson
5c88bc660c
Updated example codegen to use grpcio-tools
9 years ago
yang-g
b0de7163ad
Add proto comments to generated _pb2.py files
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Leifur Halldor Asgeirsson
4df39871d0
python3-compatible syntax for python examples
9 years ago
Craig Tiller
9d0638c038
Fix copyright
9 years ago
VcamX
208fd6b339
Set grace=0 to server stop in route_guide
...
Fix #5619
9 years ago
Tamihiro Yuzawa
2961e57007
Fix variable assignment in the example script
9 years ago
Masood Malekghassemi
13e9faa644
Remove outdated scripts
9 years ago
Craig Tiller
cb6ce54e31
Update copyrights
9 years ago
Craig Tiller
897e4fe2ad
Update copyrights
9 years ago
Nathaniel Manista
29e17020f5
Mark Python example docs as moved to grpc.io
10 years ago
Nathaniel Manista
061d288f55
Beta Python documentation correction and update
10 years ago
Stanley Cheung
56debcb6d1
fix more examples links
10 years ago
Stanley Cheung
0a268216c2
replace all grpc-common occurances with examples
10 years ago
Stanley Cheung
20fa6693f3
move examples to correct locations
10 years ago