diff --git a/connectrpc-grpcreflect/connectrpc_grpcreflect/_service.py b/connectrpc-grpcreflect/connectrpc_grpcreflect/_service.py index 294506f..ead1821 100644 --- a/connectrpc-grpcreflect/connectrpc_grpcreflect/_service.py +++ b/connectrpc-grpcreflect/connectrpc_grpcreflect/_service.py @@ -49,13 +49,11 @@ def __init__(self, *descs: DescFile | DescService) -> None: dependencies are also automatically added and available for resolution by name, but the service list will only reflect the descriptors passed in. + Serve it with [ServerReflectionASGIApplication][connectrpc_grpcreflect.ServerReflectionASGIApplication]. + Args: *descs: The descriptors to make available for reflection. - Returns: - A new instance of [ServerReflectionService][connectrpc_grpcreflect.ServerReflectionService], - for use with [ServerReflectionASGIApplication][connectrpc_grpcreflect.ServerReflectionASGIApplication]. - """ registry, service_names = _resolve_registry(descs) self._registry = registry @@ -82,13 +80,11 @@ def __init__(self, *descs: DescFile | DescService) -> None: dependencies are also automatically added and available for resolution by name, but the service list will only reflect the descriptors passed in. + Serve it with [ServerReflectionWSGIApplication][connectrpc_grpcreflect.ServerReflectionWSGIApplication]. + Args: *descs: The descriptors to make available for reflection. - Returns: - A new instance of [ServerReflectionServiceSync][connectrpc_grpcreflect.ServerReflectionServiceSync], - for use with [ServerReflectionWSGIApplication][connectrpc_grpcreflect.ServerReflectionWSGIApplication]. - """ registry, service_names = _resolve_registry(descs) self._registry = registry @@ -119,13 +115,11 @@ def __init__(self, *descs: DescFile | DescService) -> None: dependencies are also automatically added and available for resolution by name, but the service list will only reflect the descriptors passed in. + Serve it with [ServerReflectionAlphaASGIApplication][connectrpc_grpcreflect.ServerReflectionAlphaASGIApplication]. + Args: *descs: The descriptors to make available for reflection. - Returns: - A new instance of [ServerReflectionAlphaService][connectrpc_grpcreflect.ServerReflectionAlphaService], - for use with [ServerReflectionAlphaASGIApplication][connectrpc_grpcreflect.ServerReflectionAlphaASGIApplication]. - """ registry, service_names = _resolve_registry(descs) self._registry = registry @@ -161,13 +155,11 @@ def __init__(self, *descs: DescFile | DescService) -> None: dependencies are also automatically added and available for resolution by name, but the service list will only reflect the descriptors passed in. + Serve it with [ServerReflectionAlphaWSGIApplication][connectrpc_grpcreflect.ServerReflectionAlphaWSGIApplication]. + Args: *descs: The descriptors to make available for reflection. - Returns: - A new instance of [ServerReflectionAlphaServiceSync][connectrpc_grpcreflect.ServerReflectionAlphaServiceSync], - for use with [ServerReflectionAlphaWSGIApplication][connectrpc_grpcreflect.ServerReflectionAlphaWSGIApplication]. - """ registry, service_names = _resolve_registry(descs) self._registry = registry