Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for py_grpc_library (0.41 sec)

  1. examples/python/cancellation/BUILD.bazel

    load("@rules_proto//proto:defs.bzl", "proto_library")
    load("//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
    
    package(default_testonly = 1)
    
    proto_library(
        name = "hash_name_proto",
        srcs = ["hash_name.proto"],
    )
    
    py_proto_library(
        name = "hash_name_py_pb2",
        deps = [":hash_name_proto"],
    )
    
    py_grpc_library(
        name = "hash_name_py_pb2_grpc",
        srcs = [":hash_name_proto"],
    Plain Text
    - Registered: 2022-08-09 20:15
    - Last Modified: 2021-11-03 21:57
    - 2K bytes
    - Viewed (0)
  2. examples/protos/BUILD

    load("@rules_proto//proto:defs.bzl", "proto_library")
    load("//bazel:cc_grpc_library.bzl", "cc_grpc_library")
    load("//bazel:grpc_build_system.bzl", "grpc_proto_library")
    load("//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
    
    licenses(["notice"])
    
    package(default_visibility = ["//visibility:public"])
    
    grpc_proto_library(
        name = "auth_sample",
        srcs = ["auth_sample.proto"],
    )
    
    Plain Text
    - Registered: 2022-08-09 20:15
    - Last Modified: 2021-11-03 21:57
    - 2.1K bytes
    - Viewed (1)
  3. examples/python/multiprocessing/BUILD

    load("@rules_proto//proto:defs.bzl", "proto_library")
    load("//bazel:python_rules.bzl", "py_grpc_library", "py_proto_library")
    
    proto_library(
        name = "prime_proto",
        srcs = ["prime.proto"],
    )
    
    py_proto_library(
        name = "prime_proto_pb2",
        deps = [":prime_proto"],
    )
    
    py_grpc_library(
        name = "prime_proto_pb2_grpc",
        srcs = [":prime_proto"],
        deps = [":prime_proto_pb2"],
    )
    
    Plain Text
    - Registered: 2022-08-09 20:15
    - Last Modified: 2020-04-13 17:25
    - 1.8K bytes
    - Viewed (0)
  4. bazel/python_rules.bzl

                default = Label("//src/python/grpcio/grpc:grpcio"),
                providers = [PyInfo],
            ),
        },
        implementation = _generate_pb2_grpc_src_impl,
    )
    
    def py_grpc_library(
            name,
            srcs,
            deps,
            strip_prefixes = [],
            **kwargs):
        """Generate python code for gRPC services defined in a protobuf.
    
        Args:
    Plain Text
    - Registered: 2022-08-09 20:15
    - Last Modified: 2021-12-28 18:16
    - 9.6K bytes
    - Viewed (1)
Back to top