mirror of https://github.com/grpc/grpc.git
Add Python xDS user agent (#26191)
* Add cpp macro to append wrapped language info to xDS user agent * Add Python xDS user agent * fix redefinition error and add macro for wrapped lang version * clang-format * Revert xds_api.cc changes * Use two separate macros * Yapf * Regenerate projects * Include _metadata.py in source distributions * Attempt to fix quote escaping on Windows Co-authored-by: Mark D. Roth <roth@google.com>reviewable/pr26471/r3^2
parent
1e2f19b286
commit
f90716a821
4 changed files with 42 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||||
|
# Copyright 2021 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/_metadata.py.template`!!! |
||||||
|
|
||||||
|
__version__ = """1.39.0.dev0""" |
@ -0,0 +1,19 @@ |
|||||||
|
%YAML 1.2 |
||||||
|
--- | |
||||||
|
# Copyright 2021 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/_metadata.py.template`!!! |
||||||
|
|
||||||
|
__version__ = """${settings.python_version.pep440()}""" |
Loading…
Reference in new issue