Ian Rodney
cfd3395e9b
explain that keys must be lower cased ( #31586 )
2 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
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
Richard Belleville
a362c2566d
Revert examples
4 years ago
Richard Belleville
c128e61cf4
Format examples
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
568dd00774
Buildifier
4 years ago
Richard Belleville
c2c5057e9d
Fix up examples
4 years ago
Esun Kim
7be821ac47
Yapf all target python sources
5 years ago
Lidi Zheng
c34bef4ca4
Format all Bazel files with buildifier
5 years ago
Richard Belleville
1444cd1dd3
Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
...
This reverts commit 24c562dbaa
.
5 years ago
Richard Belleville
24c562dbaa
Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
...
This reverts commit c9c847f334
, reversing
changes made to 07ba4de392
.
5 years ago
Richard Belleville
27990a5541
Explicitly add python versions to examples.
5 years ago
Richard Belleville
79611aca51
Fix up unit test
5 years ago
Richard Belleville
e32980fba2
Quit waiting for a day
5 years ago
Richard Belleville
2b7ec3ad23
Fix up examples.
5 years ago
Lidi Zheng
ce41cde908
Fix string/bytes problem && lint
6 years ago
Lidi Zheng
7b82924066
Update module import according to name changes
6 years ago
Lidi Zheng
aa567e5364
Adopt reviewer's advices
6 years ago
Lidi Zheng
5f98b1e8ef
Fix 2/3 str/bytes compatibility issue
6 years ago
Lidi Zheng
12c296b3dc
[Python] Add authentication extension example
6 years ago