/external/grpc-grpc/examples/python/ |
D | Makefile | 19 ARTIFACTS += helloworld/helloworld_pb2.py 21 ARTIFACTS += helloworld/helloworld_pb2.pyi 23 ARTIFACTS += timeout/helloworld_pb2.py 25 ARTIFACTS += timeout/helloworld_pb2.pyi 27 ARTIFACTS += keep_alive/helloworld_pb2.py 29 ARTIFACTS += keep_alive/helloworld_pb2.pyi 31 ARTIFACTS += health_checking/helloworld_pb2.py 33 ARTIFACTS += health_checking/helloworld_pb2.pyi 43 ARTIFACTS += uds/helloworld_pb2.py 45 ARTIFACTS += uds/helloworld_pb2.pyi [all …]
|
/external/grpc-grpc/examples/python/helloworld/ |
D | async_greeter_server_with_reflection.py | 21 import helloworld_pb2 28 request: helloworld_pb2.HelloRequest, 30 ) -> helloworld_pb2.HelloReply: 31 return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name) 38 helloworld_pb2.DESCRIPTOR.services_by_name["Greeter"].full_name,
|
D | async_greeter_server.py | 20 import helloworld_pb2 27 request: helloworld_pb2.HelloRequest, 29 ) -> helloworld_pb2.HelloReply: 30 return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name)
|
D | async_greeter_server_with_graceful_shutdown.py | 20 import helloworld_pb2 30 request: helloworld_pb2.HelloRequest, 32 ) -> helloworld_pb2.HelloReply: 36 return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name)
|
D | greeter_server_with_reflection.py | 21 import helloworld_pb2 27 return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name) 34 helloworld_pb2.DESCRIPTOR.services_by_name["Greeter"].full_name,
|
D | greeter_client.py | 21 import helloworld_pb2 32 response = stub.SayHello(helloworld_pb2.HelloRequest(name="you"))
|
D | greeter_client_with_options.py | 21 import helloworld_pb2 43 helloworld_pb2.HelloRequest(name="you"), timeout=10
|
D | async_greeter_client.py | 20 import helloworld_pb2 27 response = await stub.SayHello(helloworld_pb2.HelloRequest(name="you"))
|
/external/grpc-grpc/examples/python/uds/ |
D | async_greeter_server.py | 20 import helloworld_pb2 27 request: helloworld_pb2.HelloRequest, 29 ) -> helloworld_pb2.HelloReply: 31 return helloworld_pb2.HelloReply(message=f"Hello to {context.peer()}!")
|
D | greeter_client.py | 21 import helloworld_pb2 30 response = stub.SayHello(helloworld_pb2.HelloRequest(name="you"))
|
/external/grpc-grpc/examples/python/retry/ |
D | flaky_server.py | 23 helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( variable 34 request: helloworld_pb2.HelloRequest, 36 ) -> helloworld_pb2.HelloReply: 45 return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name)
|
/external/grpc-grpc/examples/python/wait_for_ready/ |
D | asyncio_wait_for_ready_example.py | 24 helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( variable 46 self, request: helloworld_pb2.HelloRequest, unused_context 47 ) -> helloworld_pb2.HelloReply: 48 return helloworld_pb2.HelloReply(message=f"Hello, {request.name}!") 64 helloworld_pb2.HelloRequest(name="you"),
|
/external/grpc-grpc/test/distrib/bazel/python/ |
D | python_rules_test.bzl | 40 _assert_in(env, "helloworld_pb2.py", files) 41 _assert_in(env, "helloworld_pb2.pyi", files) 45 _assert_in(env, "helloworld_pb2.py", runfiles) 46 _assert_in(env, "helloworld_pb2.pyi", runfiles) 50 _assert_in(env, "helloworld_pb2.py", py_info_transitive_sources) 51 _assert_in(env, "helloworld_pb2.pyi", py_info_transitive_sources)
|
D | helloworld_moved.py | 27 from google.cloud import helloworld_pb2 43 return helloworld_pb2.HelloReply( 69 helloworld_pb2.HelloRequest(
|
D | helloworld.py | 25 import helloworld_pb2 39 return helloworld_pb2.HelloReply( 65 helloworld_pb2.HelloRequest(
|
/external/grpc-grpc/examples/python/debug/ |
D | asyncio_debug_server.py | 23 helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( variable 42 request: helloworld_pb2.HelloRequest, 44 ) -> helloworld_pb2.HelloReply: 49 return helloworld_pb2.HelloReply(message=f"Hello, {request.name}!")
|
D | asyncio_send_message.py | 22 helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( variable 28 stub: helloworld_pb2_grpc.GreeterStub, request: helloworld_pb2.HelloRequest 41 request = helloworld_pb2.HelloRequest(name="you")
|
/external/grpc-grpc/examples/python/interceptors/default_value/ |
D | greeter_client.py | 22 import helloworld_pb2 27 default_value = helloworld_pb2.HelloReply( 43 response = stub.SayHello(helloworld_pb2.HelloRequest(name="you"))
|
/external/grpc-grpc/examples/python/interceptors/async/ |
D | async_greeter_server_with_interceptor.py | 22 import helloworld_pb2 60 request: helloworld_pb2.HelloRequest, 62 ) -> helloworld_pb2.HelloReply: 66 return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name)
|
/external/grpc-grpc/examples/python/auth/ |
D | async_customized_auth_server.py | 24 helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( variable 63 self, request: helloworld_pb2.HelloRequest, unused_context 64 ) -> helloworld_pb2.HelloReply: 65 return helloworld_pb2.HelloReply(message="Hello, %s!" % request.name)
|
D | async_customized_auth_client.py | 23 helloworld_pb2, helloworld_pb2_grpc = grpc.protos_and_services( variable 76 async def send_rpc(channel: grpc.aio.Channel) -> helloworld_pb2.HelloReply: 78 request = helloworld_pb2.HelloRequest(name="you")
|
/external/grpc-grpc/examples/python/xds/ |
D | server.py | 26 import helloworld_pb2 48 request: helloworld_pb2.HelloRequest, 50 ) -> helloworld_pb2.HelloReply: 51 return helloworld_pb2.HelloReply( 74 for service in helloworld_pb2.DESCRIPTOR.services_by_name.values()
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/test/distrib/bazel/python/ |
D | helloworld.py | 25 import helloworld_pb2 39 return helloworld_pb2.HelloReply( 65 response = stub.SayHello(helloworld_pb2.HelloRequest(
|
D | helloworld_moved.py | 27 from google.cloud import helloworld_pb2 42 return helloworld_pb2.HelloReply( 68 response = stub.SayHello(helloworld_pb2.HelloRequest(
|
/external/grpc-grpc/examples/python/lb_policies/ |
D | greeter_client.py | 19 import helloworld_pb2 30 response = stub.SayHello(helloworld_pb2.HelloRequest(name="you"))
|