Lidi Zheng
3f2b3460a4
[Python] Add an UDS example ( #29592 )
3 years ago
Xiao
ad3f591af3
[Aio] Fix typo in async graceful shutdown example ( #29521 )
...
Background: https://github.com/grpc/grpc/pull/26622
3 years ago
Michael Mercier
b784a4307d
Add python async example for hellostreamingworld using generator ( #27343 )
...
* Add python async example for hellostreamingworld using generator
* add stub.read() client example + fix Copyrights + small improvements
* Format and lint + remove exernal generator
* Apply lint and auto-format
3 years ago
Richard Belleville
468768865b
Make Buildifier Sanity Test Strict ( #27807 )
...
* Fix all lint errors in repo.
* Use strict buildifier by default
* Whoops. That file does not exist
* Attempt fix to buildifier invocation
* Add missing copyright
3 years ago
Richard Belleville
ffc43e05d8
Switch Python xDS Example Server to Listen on IPV4 Only ( #27679 ) ( #27758 )
...
* Switch to IPV4
* Update to all hosts
3 years ago
Craig Tiller
d1e01ac139
Add a test for a (now-illegal) build file construct ( #27602 )
...
* Add a test for a (now-illegal) build file construct
* add to test suite!
* fix
* fix
* fix syntax
3 years ago
小么小儿郎EL
435d5207ab
fix: use == instead of is when comparing with a certain types of literals ( #26519 )
3 years ago
Richard Belleville
a48067c4c8
Replace StopIteration with return ( #26861 )
3 years ago
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
Richard Belleville
7125bbe5a5
Add Python PSM security example ( #26170 )
...
* Add Python PSM security example
* Fix lint
* Add in maintenance port configuration
* Align CLI flags with Java
* Pylint
4 years ago
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
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
Esun Kim
e0ebe46ad3
Fix python examples
4 years ago
Esun Kim
e7afadc255
Refactor examples BUILD files
4 years ago
Lidi Zheng
f2d06b8458
Add async bidi-streaming example
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
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
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
e56fa264b6
Period
4 years ago
Richard Belleville
578c24a5e4
Spruce up no_codegen example
4 years ago
Richard Belleville
a362c2566d
Revert examples
4 years ago
Richard Belleville
c128e61cf4
Format examples
4 years ago
Richard Belleville
b2bc02d5a4
Add pregenerated example
4 years ago
Richard Belleville
8917e6d2a0
Pylint
4 years ago
Richard Belleville
828edcc67a
Use bazel imports instead of sys.path
4 years ago
Richard Belleville
38454eae37
Fix bazel example tests
4 years ago
Richard Belleville
dc9e20665e
Copy proto files instead of adding to sys.path
4 years ago
Richard Belleville
c6b6a73558
Fix route guide example
4 years ago
Richard Belleville
05aaf3d939
Pylint
4 years ago
Richard Belleville
568dd00774
Buildifier
4 years ago
Richard Belleville
24a66903a9
Yapf
4 years ago
Richard Belleville
c2c5057e9d
Fix up examples
4 years ago
Richard Belleville
999bbf1401
Format
4 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
Richard Belleville
661791c2a2
Restructure README
5 years ago
Richard Belleville
951263b12f
Remove reference to builing from source
5 years ago
Mark D. Roth
d674fa3e37
Support xDS via both "xds" and "xds-experimental" URI schemes.
5 years ago
Richard Belleville
f60226f140
Yapf
5 years ago
Richard Belleville
212d4468f0
Accidentally a sentence fragment
5 years ago
Richard Belleville
6bd8816c0a
Add client
5 years ago