chentanjun
4ecc1fe6a4
fix the wrong word
5 years ago
kerbalwzy
d06ccebb1e
Fix: remove the space on the left of colons
5 years ago
kerbalwzy
f3fdd259c1
Fix: fix the wrong word and delete line number description
5 years ago
kerbalwzy
c5d55ee64f
Fix: add copyright headers in `server.py`
5 years ago
kerbalwzy
5c0fd4b4e6
Fix: add copyright headers in `demo.proto`
5 years ago
kerbalwzy
1b47584cf4
Fix: add copyright headers in `client.py`
5 years ago
kerbalwzy
5abf2e5095
Fix: add a blank line before the subtitle
5 years ago
Richard Belleville
d649880044
Add strip_prefix to python protoc plugin and py_grpc_library
5 years ago
kerbalwzy
1859799ee3
Fix: update README because code reformat by YAPF script
5 years ago
kerbalwzy
5c0fed241d
Fix: reformat code with YAPF script, and check with PyLint
5 years ago
kerbalwzy
25a1caa9b0
Update: add proto3 document link, change chinese translation and comment of 'unary'
5 years ago
kerbalwzy
deee1f0826
Update: add offical guide link
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
kerbalwzy
d5810a155b
Fix: rebuild README files
5 years ago
kerbalwzy
55f1899d78
Update:the max_workers argument use default, use 'server.wait_for_termination()' to keep process alive
5 years ago
kerbalwzy
151f596054
Fix: Cancel the modification of the package search path and Remove useless notes
5 years ago
kerbalwzy
caf64469f0
Update: rename the folder
5 years ago
Richard Belleville
ba04bafede
And the examples directory
5 years ago
kerbalwzy
7beba8547e
fix:Make the title appear properly
5 years ago
kerbalwzy
5ca7452c51
fix:Update the constant name. Replace abbreviations with complete forms of words
5 years ago
kerbalwzy
d2a224252d
fix:Update notes, with more standard words
5 years ago
kerbalwzy
e3f5320ae2
remove LICENSE and notes file, Modify the identifier name,
5 years ago
kerbalwzy
d33d30a595
update notes
5 years ago
kerbalwzy
d1b64c3a3e
add en example which easy start grpc by 4 kinds method of service with python
5 years ago
Richard Belleville
3db8828876
Add TODOs for prefix stripping
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
66114201b4
Modernize cancellation example
5 years ago
Lidi Zheng
1e62124cfb
Revert changes to helloworld example
5 years ago
Lidi Zheng
518b55a433
Simplify implementation
5 years ago
Richard Belleville
2b7ec3ad23
Fix up examples.
5 years ago
Richard Belleville
7b2c8c27b0
Separate py_grpc_library and py_proto_library.
...
By popular demand, we'll now be offering separate py_grpc_library and
py_proto_library targets sharing the same interface as within google3.
This change necessitated some modifications to how we pull in our own
Python-level dependencies and how we make those available to those
pulling in our project via Bazel.
There is now a grpc_python_deps() Bazel workspace rule that pulls in the
appropriate dependencies, which should be called from the client
project's WORKSPACE file. A test has been added to the bazel/test/
directory to verify that this behavior works as intended.
It's worth noting that the protobuf repository's usage of Starlark
bind() caused a great deal of trouble in ensuring that we could also
pull in six.
This change also required a change in the way generated proto code is
imported in the channelz and health-check modules, as well as in their
associated tests. We were importing them two different ways, each
relative. This resulted in two different module objects being imported
into the process, which were incompatible. I am not sure exactly what
caused this behavior to begin, as this should have been possible before
this PR. As a workaround, I am simply trying two different absolute
imports and using the one that works. This should function both inside
and outside of Bazel environments.
5 years ago
Richard Belleville
805afe647d
Copyright typo
5 years ago
Richard Belleville
79e78d16f7
Pylint
5 years ago
Richard Belleville
ba39c9255c
Adopt reviewer's comments
5 years ago
Richard Belleville
915e97b115
Fix main thread starvation issues
5 years ago
Richard Belleville
1db141accc
Change section title
5 years ago
Lidi Zheng
ce41cde908
Fix string/bytes problem && lint
5 years ago
Richard Belleville
25f3439c91
Make whole package testonly
5 years ago
Richard Belleville
7486026eb9
Annotate the proto file
5 years ago
Richard Belleville
4100084c78
Use six for compatibility in client
5 years ago
Richard Belleville
7fa7f932e3
Pull search algorithm out into another module
5 years ago
Richard Belleville
42b2fe154a
Simplify search implementation
5 years ago
Richard Belleville
2bf4d502c1
Factor out simpler generator
5 years ago
Richard Belleville
fed1c629e0
Make compatible with Python 3
5 years ago
Richard Belleville
81f42031c6
Pylint
5 years ago
Richard Belleville
edbddf25ab
Typos
5 years ago
Richard Belleville
786a3acab0
Add test
6 years ago