diff options
author | Lidi Zheng <lidiz@google.com> | 2018-11-20 16:57:08 -0800 |
---|---|---|
committer | Lidi Zheng <lidiz@google.com> | 2018-11-27 17:27:39 -0800 |
commit | 43599facf4c8b42b8a14d0601556f4231d9d10f8 (patch) | |
tree | 3d072a265ae9a3482cd8895e45dd0b58501314db /templates | |
parent | b32d8f5d4d99c5f94f970881ef9d8858eb52bbbc (diff) |
Channelz Python wrapper implementation
* Expose the C-Core API in Cython layer
* Handle the object translation
* Create a separate package for Channelz specifically
* Handle nullptr and raise exception if seen one
* Translate C++ Channelz unit tests
* Adding 5 more invalid query unit tests
Adding peripheral utility for grpcio-channelz package
* Add to `pylint_code.sh`
* Add to Python build script
* Add to artifact build script
* Add to Bazel
* Add to Sphinx module list
Diffstat (limited to 'templates')
-rw-r--r-- | templates/src/python/grpcio_channelz/grpc_version.py.template | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/src/python/grpcio_channelz/grpc_version.py.template b/templates/src/python/grpcio_channelz/grpc_version.py.template new file mode 100644 index 0000000000..75d510cd17 --- /dev/null +++ b/templates/src/python/grpcio_channelz/grpc_version.py.template @@ -0,0 +1,19 @@ +%YAML 1.2 +--- | + # Copyright 2018 The gRPC Authors + # + # Licensed under the Apache License, Version 2.0 (the "License"); + # you may not use this file except in compliance with the License. + # You may obtain a copy of the License at + # + # http://www.apache.org/licenses/LICENSE-2.0 + # + # Unless required by applicable law or agreed to in writing, software + # distributed under the License is distributed on an "AS IS" BASIS, + # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + # See the License for the specific language governing permissions and + # limitations under the License. + + # AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_channelz/grpc_version.py.template`!!! + + VERSION = '${settings.python_version.pep440()}' |