Format examples

pull/21458/head
Richard Belleville 5 years ago
parent b2bc02d5a4
commit c128e61cf4
  1. 4
      examples/python/auth/BUILD.bazel
  2. 6
      examples/python/debug/BUILD.bazel
  3. 4
      examples/python/errors/BUILD.bazel
  4. 2
      examples/python/wait_for_ready/BUILD.bazel

@ -36,13 +36,13 @@ py_binary(
data = [
"helloworld.proto",
],
imports = ["."],
python_version = "PY3",
deps = [
":_credentials",
"//src/python/grpcio/grpc:grpcio",
"//tools/distrib/python/grpcio_tools:grpc_tools",
],
imports = ["."],
)
py_binary(
@ -52,13 +52,13 @@ py_binary(
data = [
"helloworld.proto",
],
imports = ["."],
python_version = "PY3",
deps = [
":_credentials",
"//src/python/grpcio/grpc:grpcio",
"//tools/distrib/python/grpcio_tools:grpc_tools",
],
imports = ["."],
)
py_test(

@ -21,12 +21,12 @@ py_binary(
data = [
"helloworld.proto",
],
imports = ["."],
deps = [
"//src/python/grpcio/grpc:grpcio",
"//src/python/grpcio_channelz/grpc_channelz/v1:grpc_channelz",
"//tools/distrib/python/grpcio_tools:grpc_tools",
],
imports = ["."],
)
py_binary(
@ -36,24 +36,24 @@ py_binary(
data = [
"helloworld.proto",
],
imports = ["."],
python_version = "PY3",
deps = [
"//src/python/grpcio/grpc:grpcio",
"//tools/distrib/python/grpcio_tools:grpc_tools",
],
imports = ["."],
)
py_binary(
name = "get_stats",
testonly = 1,
srcs = ["get_stats.py"],
imports = ["."],
python_version = "PY3",
deps = [
"//src/python/grpcio/grpc:grpcio",
"//src/python/grpcio_channelz/grpc_channelz/v1:grpc_channelz",
],
imports = ["."],
)
py_test(

@ -21,13 +21,13 @@ py_library(
data = [
"helloworld.proto",
],
imports = ["."],
deps = [
"//src/python/grpcio/grpc:grpcio",
"//src/python/grpcio_status/grpc_status",
"//tools/distrib/python/grpcio_tools:grpc_tools",
requirement("googleapis-common-protos"),
],
imports = ["."],
)
py_library(
@ -37,6 +37,7 @@ py_library(
data = [
"helloworld.proto",
],
imports = ["."],
deps = [
"//src/python/grpcio/grpc:grpcio",
"//tools/distrib/python/grpcio_tools:grpc_tools",
@ -45,7 +46,6 @@ py_library(
"//conditions:default": [requirement("futures")],
"//:python3": [],
}),
imports = ["."],
)
py_test(

@ -21,11 +21,11 @@ py_library(
data = [
":helloworld.proto",
],
imports = ["."],
deps = [
"//src/python/grpcio/grpc:grpcio",
"//tools/distrib/python/grpcio_tools:grpc_tools",
],
imports = ["."],
)
py_test(

Loading…
Cancel
Save