eventstoredb.generated.event_store.client.server_features#

Package Contents#

Classes#

SupportedMethods

The base class for protobuf messages, all generated messages will inherit from

SupportedMethod

The base class for protobuf messages, all generated messages will inherit from

ServerFeaturesStub

Base class for async gRPC clients.

ServerFeaturesBase

Base class for async gRPC servers.

class eventstoredb.generated.event_store.client.server_features.SupportedMethods[source]#

Bases: betterproto.Message

The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.

bytes(x)

Calls __bytes__().

bool(x)

Calls __bool__().

methods: List[SupportedMethod]#
event_store_server_version: str#
class eventstoredb.generated.event_store.client.server_features.SupportedMethod[source]#

Bases: betterproto.Message

The base class for protobuf messages, all generated messages will inherit from this. This class registers the message fields which are used by the serializers and parsers to go between the Python, binary and JSON representations of the message.

bytes(x)

Calls __bytes__().

bool(x)

Calls __bool__().

method_name: str#
service_name: str#
features: List[str]#
class eventstoredb.generated.event_store.client.server_features.ServerFeaturesStub(channel, *, timeout=None, deadline=None, metadata=None)[source]#

Bases: betterproto.ServiceStub

Base class for async gRPC clients.

Parameters:
  • channel (grpclib.client.Channel) –

  • timeout (Optional[float]) –

  • deadline (Optional[grpclib.metadata.Deadline]) –

  • metadata (Optional[MetadataLike]) –

async get_supported_methods(client_empty, *, timeout=None, deadline=None, metadata=None)[source]#
Parameters:
  • client_empty (__client__.Empty) –

  • timeout (Optional[float]) –

  • deadline (Optional[grpclib.metadata.Deadline]) –

  • metadata (Optional[betterproto.grpc.grpclib_client.MetadataLike]) –

Return type:

SupportedMethods

class eventstoredb.generated.event_store.client.server_features.ServerFeaturesBase[source]#

Bases: betterproto.grpc.grpclib_server.ServiceBase

Base class for async gRPC servers.

async get_supported_methods(client_empty)[source]#
Parameters:

client_empty (__client__.Empty) –

Return type:

SupportedMethods

__mapping__()[source]#
Return type:

Dict[str, grpclib.const.Handler]