Functions | Variables
grpc_admin Namespace Reference

Functions

def add_admin_servicers (server)
 

Variables

list __all__ = ['add_admin_servicers']
 

Function Documentation

◆ add_admin_servicers()

def grpc_admin.add_admin_servicers (   server)
Register admin servicers to a server.

gRPC provides some predefined admin services to make debugging easier by
exposing gRPC's internal states. Each existing admin service is packaged as
a separate library, and the documentation of the predefined admin services
is usually scattered. It can be time consuming to get the dependency
management, module initialization, and library import right for each one of
them. 

This API provides a convenient way to create a gRPC server to expose admin
services. With this, any new admin services that you may add in the future
are automatically available via the admin interface just by upgrading your
gRPC version.

Args:
    server: A gRPC server to which all admin services will be added.

Definition at line 20 of file src/python/grpcio_admin/grpc_admin/__init__.py.

Variable Documentation

◆ __all__

list grpc_admin.__all__ = ['add_admin_servicers']
private


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:34