Skip to content

grpcio 1.78.0

Version history | Download JSON

  • PyPI https://pypi.org/project/grpcio/
    Repository https://github.com/grpc/grpc

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 294
        "Any" : 1
        "Untyped" : 713
    • 29.3% coverage
    • 29.2% coverage (strict)
    • 1008 typable
      • 294 typed
      • 713 untyped
      • 1 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 247
        "classes" : 718
        "other" : 7
    • 64 functions (+0 overloads)
      • 183 parameters
    • 114 classes
      • 270 methods (+0 overloads)
        • 448 parameters
      • 0 properties
    • 30 modules
      • 7 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
grpc 0.0% 0.0% 263 0
grpc._runtime_protos 0.0% 0.0% 6 0
grpc._simple_stubs 100.0% 100.0% 60 0
grpc.aio 0.0% 0.0% 7 0
grpc.aio._base_call 100.0% 100.0% 23 0
grpc.aio._base_channel 90.0% 90.0% 60 0
grpc.aio._base_server 87.0% 87.0% 46 0
grpc.aio._call 95.0% 95.0% 20 0
grpc.aio._channel 81.8% 81.8% 11 0
grpc.aio._interceptor 100.0% 100.0% 49 0
grpc.aio._metadata 97.2% 94.4% 36 0
grpc.aio._server 85.7% 85.7% 7 0
grpc.beta.implementations 0.0% 0.0% 73 0
grpc.beta.interfaces 0.0% 0.0% 21 0
grpc.beta.utilities 0.0% 0.0% 2 0
grpc.experimental 0.0% 0.0% 4 0
grpc.experimental.gevent 0.0% 0.0% 1 0
grpc.experimental.session_cache 0.0% 0.0% 5 0
grpc.framework.common.cardinality 0.0% 0.0% 0 0
grpc.framework.common.style 0.0% 0.0% 0 0
grpc.framework.foundation.abandonment 0.0% 0.0% 0 0
grpc.framework.foundation.callable_util 0.0% 0.0% 8 0
grpc.framework.foundation.future 0.0% 0.0% 12 0
grpc.framework.foundation.logging_pool 0.0% 0.0% 2 0
grpc.framework.foundation.stream 0.0% 0.0% 5 0
grpc.framework.foundation.stream_util 0.0% 0.0% 29 0
grpc.framework.interfaces.base.base 0.0% 0.0% 39 0
grpc.framework.interfaces.base.utilities 0.0% 0.0% 7 0
grpc.framework.interfaces.face.face 0.0% 0.0% 196 0
grpc.framework.interfaces.face.utilities 0.0% 0.0% 16 0

Incomplete Annotations

grpc (263 missing, 0 any)

Symbol Typable Typed Any
meth UnaryUnaryClientInterceptor.intercept_unary_unary 4 0 0
func ssl_channel_credentials 4 0 0
meth UnaryStreamClientInterceptor.intercept_unary_stream 4 0 0
meth ChannelCredentials.init 2 0 0
func metadata_call_credentials 3 0 0
meth AuthMetadataPluginCallback.call 3 0 0
func local_server_credentials 2 0 0
meth Call.initial_metadata 1 0 0
meth Call.trailing_metadata 1 0 0
meth Call.code 1 0 0
meth Call.details 1 0 0
func compute_engine_channel_credentials 2 0 0
meth ServiceRpcHandler.service_name 1 0 0
meth ServerCredentials.init 2 0 0
meth Future.cancel 1 0 0
meth Future.cancelled 1 0 0
meth Future.running 1 0 0
meth Future.done 1 0 0
meth Future.result 2 0 0
meth Future.exception 2 0 0
meth Future.traceback 2 0 0
meth Future.add_done_callback 2 0 0
meth ServerCertificateConfiguration.init 2 0 0
meth StreamUnaryClientInterceptor.intercept_stream_unary 4 0 0
func insecure_channel 4 0 0
func method_handlers_generic_handler 3 0 0
func ssl_server_certificate_configuration 3 0 0
meth ServerInterceptor.intercept_service 3 0 0
meth ServicerContext.invocation_metadata 1 0 0
meth ServicerContext.peer 1 0 0
meth ServicerContext.peer_identities 1 0 0
meth ServicerContext.peer_identity_key 1 0 0
meth ServicerContext.auth_context 1 0 0
meth ServicerContext.set_compression 2 0 0
meth ServicerContext.send_initial_metadata 2 0 0
meth ServicerContext.set_trailing_metadata 2 0 0
meth ServicerContext.trailing_metadata 1 0 0
meth ServicerContext.abort 3 0 0
meth ServicerContext.abort_with_status 2 0 0
meth ServicerContext.set_code 2 0 0
meth ServicerContext.set_details 2 0 0
meth ServicerContext.code 1 0 0
meth ServicerContext.details 1 0 0
meth ServicerContext.disable_next_message_compression 1 0 0
func composite_channel_credentials 3 0 0
func secure_channel 5 0 0
func unary_unary_rpc_method_handler 4 0 0
meth Server.add_generic_rpc_handlers 2 0 0
meth Server.add_registered_method_handlers 3 0 0
meth Server.add_insecure_port 2 0 0
meth Server.add_secure_port 3 0 0
meth Server.start 1 0 0
meth Server.stop 2 0 0
meth Server.wait_for_termination 2 0 0
func composite_call_credentials 2 0 0
func channel_ready_future 2 0 0
func access_token_call_credentials 2 0 0
func local_channel_credentials 2 0 0
meth StreamUnaryMultiCallable.call 7 0 0
meth StreamUnaryMultiCallable.with_call 7 0 0
meth StreamUnaryMultiCallable.future 7 0 0
meth CallCredentials.init 2 0 0
func ssl_server_credentials 4 0 0
meth StreamStreamMultiCallable.call 7 0 0
func xds_channel_credentials 2 0 0
meth UnaryUnaryMultiCallable.call 7 0 0
meth UnaryUnaryMultiCallable.with_call 7 0 0
meth UnaryUnaryMultiCallable.future 7 0 0
func server 8 0 0
func alts_server_credentials 1 0 0
func intercept_channel 3 0 0
func insecure_server_credentials 1 0 0
func alts_channel_credentials 2 0 0
func xds_server_credentials 2 0 0
meth Channel.subscribe 3 0 0
meth Channel.unsubscribe 2 0 0
meth Channel.unary_unary 5 0 0
meth Channel.unary_stream 5 0 0
meth Channel.stream_unary 5 0 0
meth Channel.stream_stream 5 0 0
meth Channel.close 1 0 0
meth Channel.enter 1 0 0
meth Channel.exit 4 0 0
func unary_stream_rpc_method_handler 4 0 0
meth AuthMetadataPlugin.call 3 0 0
meth GenericRpcHandler.service 2 0 0
meth UnaryStreamMultiCallable.call 7 0 0
func dynamic_ssl_server_credentials 4 0 0
func stream_stream_rpc_method_handler 4 0 0
meth StreamStreamClientInterceptor.intercept_stream_stream 4 0 0
meth RpcContext.is_active 1 0 0
meth RpcContext.time_remaining 1 0 0
meth RpcContext.cancel 1 0 0
meth RpcContext.add_callback 2 0 0
func stream_unary_rpc_method_handler 4 0 0

grpc._runtime_protos (6 missing, 0 any)

Symbol Typable Typed Any
func services 2 0 0
func protos 2 0 0
func protos_and_services 2 0 0

grpc.aio (7 missing, 0 any)

Symbol Typable Typed Any
attr shutdown_grpc_aio 1 0 0
attr InternalError 1 0 0
attr BaseError 1 0 0
attr EOF 1 0 0
attr init_grpc_aio 1 0 0
attr UsageError 1 0 0
attr AbortError 1 0 0

grpc.aio._base_channel (6 missing, 0 any)

Symbol Typable Typed Any
meth Channel.aenter 1 0 0
meth Channel.aexit 4 0 0
meth Channel.close 2 1 0

grpc.aio._base_server (6 missing, 0 any)

Symbol Typable Typed Any
meth ServicerContext.trailing_metadata 1 0 0
meth ServicerContext.code 1 0 0
meth ServicerContext.details 1 0 0
meth Server.add_registered_method_handlers 3 0 0

grpc.aio._call (1 missing, 0 any)

Symbol Typable Typed Any
meth AioRpcError.reduce 1 0 0

grpc.aio._channel (2 missing, 0 any)

Symbol Typable Typed Any
func insecure_channel 5 4 0
func secure_channel 6 5 0

grpc.aio._metadata (1 missing, 1 any)

Symbol Typable Typed Any
meth Metadata.from_tuple 2 1 0
meth Metadata.add 2 2 1

grpc.aio._server (1 missing, 0 any)

Symbol Typable Typed Any
func server 7 6 0

grpc.beta.implementations (73 missing, 0 any)

Symbol Typable Typed Any
func secure_channel 4 0 0
func dynamic_stub 5 0 0
meth Channel.init 2 0 0
meth Channel.subscribe 3 0 0
meth Channel.unsubscribe 2 0 0
func generic_stub 3 0 0
meth ServerOptions.init 8 0 0
attr ServerOptions.multi_method_implementation 1 0 0
attr ServerOptions.request_deserializers 1 0 0
attr ServerOptions.response_serializers 1 0 0
attr ServerOptions.thread_pool 1 0 0
attr ServerOptions.thread_pool_size 1 0 0
attr ServerOptions.default_timeout 1 0 0
attr ServerOptions.maximum_timeout 1 0 0
func server_options 8 0 0
func server 3 0 0
func metadata_call_credentials 3 0 0
meth StubOptions.init 7 0 0
attr StubOptions.host 1 0 0
attr StubOptions.request_serializers 1 0 0
attr StubOptions.response_deserializers 1 0 0
attr StubOptions.metadata_transformer 1 0 0
attr StubOptions.thread_pool 1 0 0
attr StubOptions.thread_pool_size 1 0 0
func stub_options 7 0 0
func insecure_channel 3 0 0
func google_call_credentials 2 0 0

grpc.beta.interfaces (21 missing, 0 any)

Symbol Typable Typed Any
meth Server.add_insecure_port 2 0 0
meth Server.add_secure_port 3 0 0
meth Server.start 1 0 0
meth Server.stop 2 0 0
meth GRPCCallOptions.init 4 0 0
attr GRPCCallOptions.disable_compression 1 0 0
attr GRPCCallOptions.subcall_of 1 0 0
attr GRPCCallOptions.credentials 1 0 0
meth GRPCInvocationContext.disable_next_request_compression 1 0 0
func grpc_call_options 3 0 0
meth GRPCServicerContext.peer 1 0 0
meth GRPCServicerContext.disable_next_response_compression 1 0 0

grpc.beta.utilities (2 missing, 0 any)

Symbol Typable Typed Any
func channel_ready_future 2 0 0

grpc.experimental (4 missing, 0 any)

Symbol Typable Typed Any
func insecure_channel_credentials 1 0 0
func wrap_server_method_handler 3 0 0

grpc.experimental.gevent (1 missing, 0 any)

Symbol Typable Typed Any
func init_gevent 1 0 0

grpc.experimental.session_cache (5 missing, 0 any)

Symbol Typable Typed Any
meth SSLSessionCache.init 2 0 0
meth SSLSessionCache.int 1 0 0
func ssl_session_cache_lru 2 0 0

grpc.framework.foundation.callable_util (8 missing, 0 any)

Symbol Typable Typed Any
func with_exceptions_logged 3 0 0
func call_logging_exceptions 5 0 0

grpc.framework.foundation.future (12 missing, 0 any)

Symbol Typable Typed Any
meth Future.cancel 1 0 0
meth Future.cancelled 1 0 0
meth Future.running 1 0 0
meth Future.done 1 0 0
meth Future.result 2 0 0
meth Future.exception 2 0 0
meth Future.traceback 2 0 0
meth Future.add_done_callback 2 0 0

grpc.framework.foundation.logging_pool (2 missing, 0 any)

Symbol Typable Typed Any
func pool 2 0 0

grpc.framework.foundation.stream (5 missing, 0 any)

Symbol Typable Typed Any
meth Consumer.consume 2 0 0
meth Consumer.terminate 1 0 0
meth Consumer.consume_and_terminate 2 0 0

grpc.framework.foundation.stream_util (29 missing, 0 any)

Symbol Typable Typed Any
meth TransformingConsumer.init 3 0 0
meth TransformingConsumer.consume 2 0 0
meth TransformingConsumer.terminate 1 0 0
meth TransformingConsumer.consume_and_terminate 2 0 0
meth ThreadSwitchingConsumer.init 3 0 0
meth ThreadSwitchingConsumer._spin 4 0 0
meth ThreadSwitchingConsumer.consume 2 0 0
meth ThreadSwitchingConsumer.terminate 1 0 0
meth ThreadSwitchingConsumer.consume_and_terminate 2 0 0
meth IterableConsumer.init 1 0 0
meth IterableConsumer.consume 2 0 0
meth IterableConsumer.terminate 1 0 0
meth IterableConsumer.consume_and_terminate 2 0 0
meth IterableConsumer.iter 1 0 0
meth IterableConsumer.next 1 0 0
meth IterableConsumer.next 1 0 0

grpc.framework.interfaces.base.base (39 missing, 0 any)

Symbol Typable Typed Any
meth NoSuchMethodError.init 3 0 0
attr NoSuchMethodError.code 1 0 0
attr NoSuchMethodError.details 1 0 0
meth OperationContext.outcome 1 0 0
meth OperationContext.add_termination_callback 2 0 0
meth OperationContext.time_remaining 1 0 0
meth OperationContext.cancel 1 0 0
meth OperationContext.fail 2 0 0
meth ProtocolReceiver.context 2 0 0
meth Servicer.service 5 0 0
meth End.start 1 0 0
meth End.stop 2 0 0
meth End.operate 9 0 0
meth End.operation_stats 1 0 0
meth End.add_idle_action 2 0 0
meth Operator.advance 5 0 0

grpc.framework.interfaces.base.utilities (7 missing, 0 any)

Symbol Typable Typed Any
func full_subscription 3 0 0
func completion 4 0 0

grpc.framework.interfaces.face.face (196 missing, 0 any)

Symbol Typable Typed Any
meth GenericStub.blocking_unary_unary 8 0 0
meth GenericStub.future_unary_unary 7 0 0
meth GenericStub.inline_unary_stream 7 0 0
meth GenericStub.blocking_stream_unary 8 0 0
meth GenericStub.future_stream_unary 7 0 0
meth GenericStub.inline_stream_stream 7 0 0
meth GenericStub.event_unary_unary 9 0 0
meth GenericStub.event_unary_stream 9 0 0
meth GenericStub.event_stream_unary 8 0 0
meth GenericStub.event_stream_stream 8 0 0
meth GenericStub.unary_unary 3 0 0
meth GenericStub.unary_stream 3 0 0
meth GenericStub.stream_unary 3 0 0
meth GenericStub.stream_stream 3 0 0
meth StreamUnaryMultiCallable.call 6 0 0
meth StreamUnaryMultiCallable.future 5 0 0
meth StreamUnaryMultiCallable.event 6 0 0
meth StreamStreamMultiCallable.call 5 0 0
meth StreamStreamMultiCallable.event 6 0 0
meth ResponseReceiver.initial_metadata 2 0 0
meth ResponseReceiver.response 2 0 0
meth ResponseReceiver.complete 4 0 0
meth UnaryUnaryMultiCallable.call 6 0 0
meth UnaryUnaryMultiCallable.future 5 0 0
meth UnaryUnaryMultiCallable.event 7 0 0
meth Call.initial_metadata 1 0 0
meth Call.terminal_metadata 1 0 0
meth Call.code 1 0 0
meth Call.details 1 0 0
meth NoSuchMethodError.init 3 0 0
meth NoSuchMethodError.repr 1 0 0
attr NoSuchMethodError.group 1 0 0
attr NoSuchMethodError.method 1 0 0
meth UnaryStreamMultiCallable.call 5 0 0
meth UnaryStreamMultiCallable.event 7 0 0
meth ServicerContext.invocation_metadata 1 0 0
meth ServicerContext.initial_metadata 2 0 0
meth ServicerContext.terminal_metadata 2 0 0
meth ServicerContext.code 2 0 0
meth ServicerContext.details 2 0 0
meth AbortionError.init 5 0 0
meth AbortionError.str 1 0 0
attr AbortionError.initial_metadata 1 0 0
attr AbortionError.terminal_metadata 1 0 0
attr AbortionError.code 1 0 0
attr AbortionError.details 1 0 0
meth RpcContext.is_active 1 0 0
meth RpcContext.time_remaining 1 0 0
meth RpcContext.add_abortion_callback 2 0 0
meth RpcContext.cancel 1 0 0
meth RpcContext.protocol_context 1 0 0
meth MultiMethodImplementation.service 5 0 0

grpc.framework.interfaces.face.utilities (16 missing, 0 any)

Symbol Typable Typed Any
func unary_unary_inline 2 0 0
func unary_stream_inline 2 0 0
func unary_stream_event 2 0 0
func stream_stream_event 2 0 0
func stream_stream_inline 2 0 0
func unary_unary_event 2 0 0
func stream_unary_inline 2 0 0
func stream_unary_event 2 0 0

Type-Ignore Comments

No type-ignore comments.