Skip to content

Gossip

Gossip Mixins.

Gossip

Bases: ClientBase

Handles Gossip Operations.

Source code in src/eventstore_grpc/client/gossip.py
class Gossip(ClientBase):
    """Handles Gossip Operations."""

    def get_cluster_info(self, **kwargs) -> ClusterInfo:
        """Gets cluster info."""
        stub = gossip_pb2_grpc.GossipStub(self.channel)
        result = gossip.read(stub, **kwargs)
        return result

get_cluster_info(**kwargs)

Gets cluster info.

Source code in src/eventstore_grpc/client/gossip.py
def get_cluster_info(self, **kwargs) -> ClusterInfo:
    """Gets cluster info."""
    stub = gossip_pb2_grpc.GossipStub(self.channel)
    result = gossip.read(stub, **kwargs)
    return result