Commit Graph

713 Commits

Author SHA1 Message Date
Lidi Zheng 6f3dd4efa8
Merge pull request #20260 from kerbalwzy/master
Fix README: fix the wrong word and delete line number description of the README, which belong to Python example `data_transmission`
2019-09-18 15:49:51 -07:00
Muxi Yan 3c6d701df7
Merge pull request #20087 from Tony1023/objc-readme
Added Objc readme for examples/objective-c with Bazel build
2019-09-18 14:42:29 -07:00
Muxi Yan b3b736fa59 Merge examples/objectivec/README into Hello World's README 2019-09-18 10:36:59 -07:00
kerbalwzy d06ccebb1e Fix: remove the space on the left of colons 2019-09-17 09:37:56 +08:00
kerbalwzy f3fdd259c1 Fix: fix the wrong word and delete line number description 2019-09-15 15:12:45 +08:00
Lidi Zheng 5931fde9c7
Merge pull request #19938 from kerbalwzy/master
Add a quick-start example for basic usages in Python
2019-09-13 10:42:14 -07:00
kerbalwzy c5d55ee64f
Fix: add copyright headers in `server.py` 2019-09-11 10:27:15 +08:00
kerbalwzy 5c0fd4b4e6
Fix: add copyright headers in `demo.proto` 2019-09-11 10:23:31 +08:00
kerbalwzy 1b47584cf4
Fix: add copyright headers in `client.py` 2019-09-11 10:20:23 +08:00
kerbalwzy 5abf2e5095
Fix: add a blank line before the subtitle 2019-09-11 09:53:14 +08:00
Esun Kim 7601981d9e Upmerge from 1.23.x 2019-09-10 08:49:06 -07:00
Richard Belleville 3d4f905775
Merge pull request #20141 from gnossen/python_strip_prefixes
Add strip_prefix to python protoc plugin and py_grpc_library
2019-09-06 11:55:58 -05:00
Jan Tattermusch 12dc0da99d upgrade HelloworldXamarin example to 2.23.0 2019-09-05 10:14:10 +02:00
Jan Tattermusch 10156898ea upgrade helloworld classic example to 2.23.0 2019-09-05 09:58:11 +02:00
Jan Tattermusch cbac0b4361 upgrade routeguide example to 2.23.0 2019-09-05 09:50:41 +02:00
Jan Tattermusch 1a33196710 upgrade helloworld example to 2.23.0 2019-09-05 09:50:21 +02:00
Richard Belleville d649880044 Add strip_prefix to python protoc plugin and py_grpc_library 2019-08-30 16:47:22 -07:00
kerbalwzy 1859799ee3 Fix: update README because code reformat by YAPF script 2019-08-30 08:55:01 +08:00
kerbalwzy 5c0fed241d Fix: reformat code with YAPF script, and check with PyLint 2019-08-30 08:44:20 +08:00
kerbalwzy 25a1caa9b0 Update: add proto3 document link, change chinese translation and comment of 'unary' 2019-08-30 08:30:07 +08:00
kerbalwzy deee1f0826 Update: add offical guide link 2019-08-30 08:24:38 +08:00
Richard Belleville 1444cd1dd3 Revert "Revert "Merge pull request #20097 from gnossen/dual_version_python_tests""
This reverts commit 24c562dbaa.
2019-08-29 10:51:36 -07:00
Richard Belleville 24c562dbaa Revert "Merge pull request #20097 from gnossen/dual_version_python_tests"
This reverts commit c9c847f334, reversing
changes made to 07ba4de392.
2019-08-29 10:47:44 -07:00
Richard Belleville 27990a5541 Explicitly add python versions to examples. 2019-08-27 17:47:52 -07:00
Zhehao /Tony/ Lu 7c4b45de43 Little changes 2019-08-27 10:48:47 -07:00
kerbalwzy d5810a155b Fix: rebuild README files 2019-08-27 11:14:36 +08:00
kerbalwzy 55f1899d78 Update:the max_workers argument use default, use 'server.wait_for_termination()' to keep process alive 2019-08-27 10:36:35 +08:00
kerbalwzy 151f596054 Fix: Cancel the modification of the package search path and Remove useless notes 2019-08-27 10:17:08 +08:00
kerbalwzy caf64469f0 Update: rename the folder 2019-08-27 10:08:29 +08:00
Zhehao /Tony/ Lu 92c5f26ca8 Added a note at the top 2019-08-26 17:03:47 -07:00
Zhehao /Tony/ Lu 6d03b59d7e Added readme for objc examples (Bazel build) 2019-08-26 17:00:50 -07:00
Richard Belleville 013ac94821 And another 2019-08-21 15:10:02 -07:00
Richard Belleville ba04bafede And the examples directory 2019-08-21 14:39:54 -07:00
kerbalwzy 7beba8547e fix:Make the title appear properly 2019-08-16 12:08:27 +08:00
kerbalwzy 5ca7452c51 fix:Update the constant name. Replace abbreviations with complete forms of words 2019-08-16 11:57:35 +08:00
kerbalwzy d2a224252d fix:Update notes, with more standard words 2019-08-16 11:54:31 +08:00
Tony Lu 21c6531bc0 Added targets for other examples in objective-c examples 2019-08-15 11:21:10 -07:00
kerbalwzy e3f5320ae2 remove LICENSE and notes file, Modify the identifier name, 2019-08-15 16:29:39 +08:00
Tony Lu f4037db1fb Added manual tag and buildtest example 2019-08-14 18:09:19 -07:00
Tony Lu a01edec47a Added helloworld sample with Bazel build 2019-08-14 17:24:51 -07:00
kerbalwzy d33d30a595 update notes 2019-08-14 09:20:57 +08:00
kerbalwzy d1b64c3a3e add en example which easy start grpc by 4 kinds method of service with python 2019-08-14 00:25:48 +08:00
Richard Belleville d932d2368e
Merge pull request #19852 from gnossen/server_termination
Quit waiting for a day
2019-08-08 09:53:10 -07:00
Richard Belleville 3db8828876 Add TODOs for prefix stripping 2019-08-06 15:24:09 -07:00
Richard Belleville 79611aca51 Fix up unit test 2019-08-05 17:25:16 -07:00
Richard Belleville e32980fba2 Quit waiting for a day 2019-08-05 16:19:49 -07:00
Richard Belleville 66114201b4 Modernize cancellation example 2019-08-02 15:11:06 -07:00
Richard Belleville e1980a7a5a Merge remote-tracking branch 'origin/master' into py_proto_library 2019-08-02 15:02:31 -07:00
Richard Belleville 2b7ec3ad23 Fix up examples. 2019-08-01 16:18:45 -07:00
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.
2019-08-01 15:16:22 -07:00