mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Xuan Wang
bb3edd22b3
|
10 months ago | |
---|---|---|
.. | ||
bazel/cc_proto_descriptor_library/testdata | 10 months ago | |
contrib/envoy/extensions | 10 months ago | |
envoy | 10 months ago | |
11 months ago | ||
opencensus | 11 months ago | |
opentelemetry | 11 months ago | |
udpa | 11 months ago | |
validate | 11 months ago | |
xds | 10 months ago | |
BUILD.bazel | 11 months ago | |
MANIFEST.in | 1 year ago | |
README.rst | 4 years ago | |
__init__.py | 11 months ago | |
build.py | 10 months ago | |
generated_file_import_test.py | 10 months ago | |
grpc_version.py | 10 months ago | |
setup.py | 1 year ago |
README.rst
Package "xds-protos" is a collection of ProtoBuf generated Python files for xDS protos (or the `data-plane-api <https://github.com/envoyproxy/data-plane-api>`_). You can find the source code of this project in `grpc/grpc <https://github.com/grpc/grpc>`_. For any question or suggestion, please post to https://github.com/grpc/grpc/issues.
Each generated Python file can be imported according to their proto package. For example, if we are trying to import a proto located at "envoy/service/status/v3/csds.proto", whose proto package is "package envoy.service.status.v3", then we can import it as:
::
# Import the message definitions
from envoy.service.status.v3 import csds_pb2
# Import the gRPC service and stub
from envoy.service.status.v3 import csds_pb2_grpc