From 5dc6f3b15bcf382cbd4028ba183bf993d18db1fe Mon Sep 17 00:00:00 2001 From: johnbywater Date: Thu, 6 Jun 2024 00:14:19 +0100 Subject: [PATCH] Updated packages and regenerated gRPC stubs. --- esdbclient/persistent.py | 8 +- esdbclient/protos/Grpc/cluster_pb2.py | 245 +++------- esdbclient/protos/Grpc/cluster_pb2.pyi | 194 ++++---- esdbclient/protos/Grpc/code_pb2.py | 17 +- esdbclient/protos/Grpc/code_pb2.pyi | 1 + esdbclient/protos/Grpc/gossip_pb2.py | 43 +- esdbclient/protos/Grpc/gossip_pb2.pyi | 24 +- esdbclient/protos/Grpc/persistent_pb2.py | 399 +++++---------- esdbclient/protos/Grpc/persistent_pb2.pyi | 542 ++++++++++----------- esdbclient/protos/Grpc/projections_pb2.py | 195 +++----- esdbclient/protos/Grpc/projections_pb2.pyi | 197 +++----- esdbclient/protos/Grpc/shared_pb2.py | 84 ++-- esdbclient/protos/Grpc/shared_pb2.pyi | 81 ++- esdbclient/protos/Grpc/status_pb2.py | 22 +- esdbclient/protos/Grpc/status_pb2.pyi | 15 +- esdbclient/protos/Grpc/streams_pb2.py | 342 ++++--------- esdbclient/protos/Grpc/streams_pb2.pyi | 523 +++++++++----------- esdbclient/streams.py | 4 +- poetry.lock | 357 +++++++------- pyproject.toml | 2 +- 20 files changed, 1285 insertions(+), 2010 deletions(-) diff --git a/esdbclient/persistent.py b/esdbclient/persistent.py index c7dff34..7be571b 100644 --- a/esdbclient/persistent.py +++ b/esdbclient/persistent.py @@ -71,15 +71,15 @@ @runtime_checkable class _ReadResps(Iterator[persistent_pb2.ReadResp], Protocol): @abstractmethod - def cancel(self) -> None: - ... # pragma: no cover + def cancel(self) -> None: # pragma: no cover + ... @runtime_checkable class _AsyncioReadResps(Iterator[persistent_pb2.ReadResp], Protocol): @abstractmethod - async def cancel(self) -> None: - ... # pragma: no cover + async def cancel(self) -> None: # pragma: no cover + ... ConsumerStrategy = Literal[ diff --git a/esdbclient/protos/Grpc/cluster_pb2.py b/esdbclient/protos/Grpc/cluster_pb2.py index 4b65c82..258e979 100644 --- a/esdbclient/protos/Grpc/cluster_pb2.py +++ b/esdbclient/protos/Grpc/cluster_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/cluster.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -20,191 +19,71 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$esdbclient/protos/Grpc/cluster.proto\x12\x13\x65vent_store.cluster\x1a#esdbclient/protos/Grpc/shared.proto"n\n\rGossipRequest\x12.\n\x04info\x18\x01' - b" \x01(\x0b\x32 .event_store.cluster.ClusterInfo\x12-\n\x06server\x18\x02" - b' \x01(\x0b\x32\x1d.event_store.cluster.EndPoint"\x8c\x01\n\x11ViewChangeRequest\x12+\n\tserver_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x16\n\x0e\x61ttempted_view\x18\x03" - b' \x01(\x05"\x91\x01\n\x16ViewChangeProofRequest\x12+\n\tserver_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x16\n\x0einstalled_view\x18\x03" - b' \x01(\x05"\x7f\n\x0ePrepareRequest\x12+\n\tserver_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x0c\n\x04view\x18\x03" - b' \x01(\x05"\xba\x03\n\x10PrepareOkRequest\x12\x0c\n\x04view\x18\x01' - b" \x01(\x05\x12+\n\tserver_id\x18\x02" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x03" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x14\n\x0c\x65poch_number\x18\x04" - b" \x01(\x05\x12\x16\n\x0e\x65poch_position\x18\x05" - b" \x01(\x03\x12*\n\x08\x65poch_id\x18\x06" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12:\n\x18\x65poch_leader_instance_id\x18\x07" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x1c\n\x14last_commit_position\x18\x08" - b" \x01(\x03\x12\x19\n\x11writer_checkpoint\x18\t" - b" \x01(\x03\x12\x19\n\x11\x63haser_checkpoint\x18\n" - b" \x01(\x03\x12\x15\n\rnode_priority\x18\x0b" - b" \x01(\x05\x12\x36\n\x0c\x63luster_info\x18\x0c \x01(\x0b\x32" - b' .event_store.cluster.ClusterInfo"\xe2\x03\n\x0fProposalRequest\x12+\n\tserver_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12+\n\tleader_id\x18\x03" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x04" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x0c\n\x04view\x18\x05" - b" \x01(\x05\x12\x14\n\x0c\x65poch_number\x18\x06" - b" \x01(\x05\x12\x16\n\x0e\x65poch_position\x18\x07" - b" \x01(\x03\x12*\n\x08\x65poch_id\x18\x08" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12:\n\x18\x65poch_leader_instance_id\x18\t" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x1c\n\x14last_commit_position\x18\n" - b" \x01(\x03\x12\x19\n\x11writer_checkpoint\x18\x0b" - b" \x01(\x03\x12\x19\n\x11\x63haser_checkpoint\x18\x0c" - b" \x01(\x03\x12\x15\n\rnode_priority\x18\r" - b' \x01(\x05"\xdf\x01\n\rAcceptRequest\x12+\n\tserver_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12+\n\tleader_id\x18\x03" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x04" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x0c\n\x04view\x18\x05" - b' \x01(\x05"{\n\x18LeaderIsResigningRequest\x12+\n\tleader_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x02" - b' \x01(\x0b\x32\x1d.event_store.cluster.EndPoint"\xde\x01\n\x1aLeaderIsResigningOkRequest\x12+\n\tleader_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x02" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12+\n\tserver_id\x18\x03" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x04" - b' \x01(\x0b\x32\x1d.event_store.cluster.EndPoint"?\n\x0b\x43lusterInfo\x12\x30\n\x07members\x18\x01' - b' \x03(\x0b\x32\x1f.event_store.cluster.MemberInfo")\n\x08\x45ndPoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01' - b" \x01(\t\x12\x0c\n\x04port\x18\x02" - b' \x01(\r"\x87\x08\n\nMemberInfo\x12-\n\x0binstance_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x12\n\ntime_stamp\x18\x02" - b" \x01(\x03\x12\x39\n\x05state\x18\x03" - b" \x01(\x0e\x32*.event_store.cluster.MemberInfo.VNodeState\x12\x10\n\x08is_alive\x18\x04" - b" \x01(\x08\x12\x35\n\x0ehttp_end_point\x18\x05" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x33\n\x0cinternal_tcp\x18\x06" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x33\n\x0c\x65xternal_tcp\x18\x07" - b" \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x1d\n\x15internal_tcp_uses_tls\x18\x08" - b" \x01(\x08\x12\x1d\n\x15\x65xternal_tcp_uses_tls\x18\t" - b" \x01(\x08\x12\x1c\n\x14last_commit_position\x18\n" - b" \x01(\x03\x12\x19\n\x11writer_checkpoint\x18\x0b" - b" \x01(\x03\x12\x19\n\x11\x63haser_checkpoint\x18\x0c" - b" \x01(\x03\x12\x16\n\x0e\x65poch_position\x18\r" - b" \x01(\x03\x12\x14\n\x0c\x65poch_number\x18\x0e" - b" \x01(\x05\x12*\n\x08\x65poch_id\x18\x0f" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x15\n\rnode_priority\x18\x10" - b" \x01(\x05\x12\x1c\n\x14is_read_only_replica\x18\x11" - b" \x01(\x08\x12#\n\x1b\x61\x64vertise_host_to_client_as\x18\x12 \x01(\t\x12(\n" - b" advertise_http_port_to_client_as\x18\x13" - b" \x01(\r\x12'\n\x1f\x61\x64vertise_tcp_port_to_client_as\x18\x14" - b" \x01(\r\x12\x12\n\nes_version\x18\x15" - b' \x01(\t"\x9a\x02\n\nVNodeState\x12\x10\n\x0cInitializing\x10\x00\x12\x12\n\x0e\x44iscoverLeader\x10\x01\x12\x0b\n\x07Unknown\x10\x02\x12\x0e\n\nPreReplica\x10\x03\x12\x0e\n\nCatchingUp\x10\x04\x12\t\n\x05\x43lone\x10\x05\x12\x0c\n\x08\x46ollower\x10\x06\x12\r\n\tPreLeader\x10\x07\x12\n\n\x06Leader\x10\x08\x12\x0b\n\x07Manager\x10\t\x12\x10\n\x0cShuttingDown\x10\n\x12\x0c\n\x08Shutdown\x10\x0b\x12\x16\n\x12ReadOnlyLeaderless\x10\x0c\x12\x16\n\x12PreReadOnlyReplica\x10\r\x12\x13\n\x0fReadOnlyReplica\x10\x0e\x12\x13\n\x0fResigningLeader\x10\x0f";\n\x0fReplicaLogWrite\x12\x14\n\x0clog_position\x18\x01' - b" \x01(\x03\x12\x12\n\nreplica_id\x18\x02" - b' \x01(\x0c"$\n\x0cReplicatedTo\x12\x14\n\x0clog_position\x18\x01' - b' \x01(\x03"G\n\x05\x45poch\x12\x16\n\x0e\x65poch_position\x18\x01' - b" \x01(\x03\x12\x14\n\x0c\x65poch_number\x18\x02" - b" \x01(\x05\x12\x10\n\x08\x65poch_id\x18\x03" - b' \x01(\x0c"\xd8\x01\n\x10SubscribeReplica\x12\x14\n\x0clog_position\x18\x01' - b" \x01(\x03\x12\x10\n\x08\x63hunk_id\x18\x02 \x01(\x0c\x12.\n\nLastEpochs\x18\x03" - b" \x03(\x0b\x32\x1a.event_store.cluster.Epoch\x12\n\n\x02ip\x18\x04" - b" \x01(\x0c\x12\x0c\n\x04port\x18\x05 \x01(\x05\x12\x11\n\tleader_id\x18\x06" - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x07" - b" \x01(\x0c\x12\x15\n\ris_promotable\x18\x08 \x01(\x08\x12\x0f\n\x07version\x18\t" - b' \x01(\x05"F\n\x18ReplicaSubscriptionRetry\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b' \x01(\x0c"^\n\x11ReplicaSubscribed\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b" \x01(\x0c\x12\x1d\n\x15subscription_position\x18\x03" - b' \x01(\x03"o\n\x15ReplicaLogPositionAck\x12\x17\n\x0fsubscription_id\x18\x01' - b" \x01(\x0c\x12 \n\x18replication_log_position\x18\x02" - b" \x01(\x03\x12\x1b\n\x13writer_log_position\x18\x03" - b' \x01(\x03"\x84\x01\n\x0b\x43reateChunk\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b" \x01(\x0c\x12\x1a\n\x12\x63hunk_header_bytes\x18\x03" - b" \x01(\x0c\x12\x11\n\tfile_size\x18\x04" - b" \x01(\x05\x12\x1a\n\x12is_completed_chunk\x18\x05" - b' \x01(\x08"\xb1\x01\n\x0cRawChunkBulk\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b" \x01(\x0c\x12\x1a\n\x12\x63hunk_start_number\x18\x03" - b" \x01(\x05\x12\x18\n\x10\x63hunk_end_number\x18\x04" - b" \x01(\x05\x12\x14\n\x0craw_position\x18\x05" - b" \x01(\x05\x12\x11\n\traw_bytes\x18\x06" - b" \x01(\x0c\x12\x16\n\x0e\x63omplete_chunk\x18\x07" - b' \x01(\x08"\xbc\x01\n\rDataChunkBulk\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b" \x01(\x0c\x12\x1a\n\x12\x63hunk_start_number\x18\x03" - b" \x01(\x05\x12\x18\n\x10\x63hunk_end_number\x18\x04" - b" \x01(\x05\x12\x1d\n\x15subscription_position\x18\x05" - b" \x01(\x03\x12\x12\n\ndata_bytes\x18\x06" - b" \x01(\x0c\x12\x16\n\x0e\x63omplete_chunk\x18\x07" - b' \x01(\x08"@\n\x12\x46ollowerAssignment\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b' \x01(\x0c"=\n\x0f\x43loneAssignment\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b' \x01(\x0c">\n\x10\x44ropSubscription\x12\x11\n\tleader_id\x18\x01' - b" \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02" - b' \x01(\x0c\x32\x9d\x01\n\x06Gossip\x12N\n\x06Update\x12".event_store.cluster.GossipRequest\x1a' - b" .event_store.cluster.ClusterInfo\x12\x43\n\x04Read\x12\x19.event_store.client.Empty\x1a" - b" .event_store.cluster.ClusterInfo2\xa9\x05\n\tElections\x12O\n\nViewChange\x12&.event_store.cluster.ViewChangeRequest\x1a\x19.event_store.client.Empty\x12Y\n\x0fViewChangeProof\x12+.event_store.cluster.ViewChangeProofRequest\x1a\x19.event_store.client.Empty\x12I\n\x07Prepare\x12#.event_store.cluster.PrepareRequest\x1a\x19.event_store.client.Empty\x12M\n\tPrepareOk\x12%.event_store.cluster.PrepareOkRequest\x1a\x19.event_store.client.Empty\x12K\n\x08Proposal\x12$.event_store.cluster.ProposalRequest\x1a\x19.event_store.client.Empty\x12G\n\x06\x41\x63\x63\x65pt\x12\".event_store.cluster.AcceptRequest\x1a\x19.event_store.client.Empty\x12]\n\x11LeaderIsResigning\x12-.event_store.cluster.LeaderIsResigningRequest\x1a\x19.event_store.client.Empty\x12\x61\n\x13LeaderIsResigningOk\x12/.event_store.cluster.LeaderIsResigningOkRequest\x1a\x19.event_store.client.EmptyB'\n%com.eventstore.dbclient.proto.clusterb\x06proto3" + b'\n$esdbclient/protos/Grpc/cluster.proto\x12\x13\x65vent_store.cluster\x1a#esdbclient/protos/Grpc/shared.proto"n\n\rGossipRequest\x12.\n\x04info\x18\x01 \x01(\x0b\x32 .event_store.cluster.ClusterInfo\x12-\n\x06server\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint"\x8c\x01\n\x11ViewChangeRequest\x12+\n\tserver_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x16\n\x0e\x61ttempted_view\x18\x03 \x01(\x05"\x91\x01\n\x16ViewChangeProofRequest\x12+\n\tserver_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x16\n\x0einstalled_view\x18\x03 \x01(\x05"\x7f\n\x0ePrepareRequest\x12+\n\tserver_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x0c\n\x04view\x18\x03 \x01(\x05"\xba\x03\n\x10PrepareOkRequest\x12\x0c\n\x04view\x18\x01 \x01(\x05\x12+\n\tserver_id\x18\x02 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x03 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x14\n\x0c\x65poch_number\x18\x04 \x01(\x05\x12\x16\n\x0e\x65poch_position\x18\x05 \x01(\x03\x12*\n\x08\x65poch_id\x18\x06 \x01(\x0b\x32\x18.event_store.client.UUID\x12:\n\x18\x65poch_leader_instance_id\x18\x07 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x1c\n\x14last_commit_position\x18\x08 \x01(\x03\x12\x19\n\x11writer_checkpoint\x18\t \x01(\x03\x12\x19\n\x11\x63haser_checkpoint\x18\n \x01(\x03\x12\x15\n\rnode_priority\x18\x0b \x01(\x05\x12\x36\n\x0c\x63luster_info\x18\x0c \x01(\x0b\x32 .event_store.cluster.ClusterInfo"\xe2\x03\n\x0fProposalRequest\x12+\n\tserver_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12+\n\tleader_id\x18\x03 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x04 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x0c\n\x04view\x18\x05 \x01(\x05\x12\x14\n\x0c\x65poch_number\x18\x06 \x01(\x05\x12\x16\n\x0e\x65poch_position\x18\x07 \x01(\x03\x12*\n\x08\x65poch_id\x18\x08 \x01(\x0b\x32\x18.event_store.client.UUID\x12:\n\x18\x65poch_leader_instance_id\x18\t \x01(\x0b\x32\x18.event_store.client.UUID\x12\x1c\n\x14last_commit_position\x18\n \x01(\x03\x12\x19\n\x11writer_checkpoint\x18\x0b \x01(\x03\x12\x19\n\x11\x63haser_checkpoint\x18\x0c \x01(\x03\x12\x15\n\rnode_priority\x18\r \x01(\x05"\xdf\x01\n\rAcceptRequest\x12+\n\tserver_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12+\n\tleader_id\x18\x03 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x04 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x0c\n\x04view\x18\x05 \x01(\x05"{\n\x18LeaderIsResigningRequest\x12+\n\tleader_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint"\xde\x01\n\x1aLeaderIsResigningOkRequest\x12+\n\tleader_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bleader_http\x18\x02 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12+\n\tserver_id\x18\x03 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x32\n\x0bserver_http\x18\x04 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint"?\n\x0b\x43lusterInfo\x12\x30\n\x07members\x18\x01 \x03(\x0b\x32\x1f.event_store.cluster.MemberInfo")\n\x08\x45ndPoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r"\x87\x08\n\nMemberInfo\x12-\n\x0binstance_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x12\n\ntime_stamp\x18\x02 \x01(\x03\x12\x39\n\x05state\x18\x03 \x01(\x0e\x32*.event_store.cluster.MemberInfo.VNodeState\x12\x10\n\x08is_alive\x18\x04 \x01(\x08\x12\x35\n\x0ehttp_end_point\x18\x05 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x33\n\x0cinternal_tcp\x18\x06 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x33\n\x0c\x65xternal_tcp\x18\x07 \x01(\x0b\x32\x1d.event_store.cluster.EndPoint\x12\x1d\n\x15internal_tcp_uses_tls\x18\x08 \x01(\x08\x12\x1d\n\x15\x65xternal_tcp_uses_tls\x18\t \x01(\x08\x12\x1c\n\x14last_commit_position\x18\n \x01(\x03\x12\x19\n\x11writer_checkpoint\x18\x0b \x01(\x03\x12\x19\n\x11\x63haser_checkpoint\x18\x0c \x01(\x03\x12\x16\n\x0e\x65poch_position\x18\r \x01(\x03\x12\x14\n\x0c\x65poch_number\x18\x0e \x01(\x05\x12*\n\x08\x65poch_id\x18\x0f \x01(\x0b\x32\x18.event_store.client.UUID\x12\x15\n\rnode_priority\x18\x10 \x01(\x05\x12\x1c\n\x14is_read_only_replica\x18\x11 \x01(\x08\x12#\n\x1b\x61\x64vertise_host_to_client_as\x18\x12 \x01(\t\x12(\n advertise_http_port_to_client_as\x18\x13 \x01(\r\x12\'\n\x1f\x61\x64vertise_tcp_port_to_client_as\x18\x14 \x01(\r\x12\x12\n\nes_version\x18\x15 \x01(\t"\x9a\x02\n\nVNodeState\x12\x10\n\x0cInitializing\x10\x00\x12\x12\n\x0e\x44iscoverLeader\x10\x01\x12\x0b\n\x07Unknown\x10\x02\x12\x0e\n\nPreReplica\x10\x03\x12\x0e\n\nCatchingUp\x10\x04\x12\t\n\x05\x43lone\x10\x05\x12\x0c\n\x08\x46ollower\x10\x06\x12\r\n\tPreLeader\x10\x07\x12\n\n\x06Leader\x10\x08\x12\x0b\n\x07Manager\x10\t\x12\x10\n\x0cShuttingDown\x10\n\x12\x0c\n\x08Shutdown\x10\x0b\x12\x16\n\x12ReadOnlyLeaderless\x10\x0c\x12\x16\n\x12PreReadOnlyReplica\x10\r\x12\x13\n\x0fReadOnlyReplica\x10\x0e\x12\x13\n\x0fResigningLeader\x10\x0f";\n\x0fReplicaLogWrite\x12\x14\n\x0clog_position\x18\x01 \x01(\x03\x12\x12\n\nreplica_id\x18\x02 \x01(\x0c"$\n\x0cReplicatedTo\x12\x14\n\x0clog_position\x18\x01 \x01(\x03"G\n\x05\x45poch\x12\x16\n\x0e\x65poch_position\x18\x01 \x01(\x03\x12\x14\n\x0c\x65poch_number\x18\x02 \x01(\x05\x12\x10\n\x08\x65poch_id\x18\x03 \x01(\x0c"\xd8\x01\n\x10SubscribeReplica\x12\x14\n\x0clog_position\x18\x01 \x01(\x03\x12\x10\n\x08\x63hunk_id\x18\x02 \x01(\x0c\x12.\n\nLastEpochs\x18\x03 \x03(\x0b\x32\x1a.event_store.cluster.Epoch\x12\n\n\x02ip\x18\x04 \x01(\x0c\x12\x0c\n\x04port\x18\x05 \x01(\x05\x12\x11\n\tleader_id\x18\x06 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x07 \x01(\x0c\x12\x15\n\ris_promotable\x18\x08 \x01(\x08\x12\x0f\n\x07version\x18\t \x01(\x05"F\n\x18ReplicaSubscriptionRetry\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c"^\n\x11ReplicaSubscribed\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c\x12\x1d\n\x15subscription_position\x18\x03 \x01(\x03"o\n\x15ReplicaLogPositionAck\x12\x17\n\x0fsubscription_id\x18\x01 \x01(\x0c\x12 \n\x18replication_log_position\x18\x02 \x01(\x03\x12\x1b\n\x13writer_log_position\x18\x03 \x01(\x03"\x84\x01\n\x0b\x43reateChunk\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c\x12\x1a\n\x12\x63hunk_header_bytes\x18\x03 \x01(\x0c\x12\x11\n\tfile_size\x18\x04 \x01(\x05\x12\x1a\n\x12is_completed_chunk\x18\x05 \x01(\x08"\xb1\x01\n\x0cRawChunkBulk\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c\x12\x1a\n\x12\x63hunk_start_number\x18\x03 \x01(\x05\x12\x18\n\x10\x63hunk_end_number\x18\x04 \x01(\x05\x12\x14\n\x0craw_position\x18\x05 \x01(\x05\x12\x11\n\traw_bytes\x18\x06 \x01(\x0c\x12\x16\n\x0e\x63omplete_chunk\x18\x07 \x01(\x08"\xbc\x01\n\rDataChunkBulk\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c\x12\x1a\n\x12\x63hunk_start_number\x18\x03 \x01(\x05\x12\x18\n\x10\x63hunk_end_number\x18\x04 \x01(\x05\x12\x1d\n\x15subscription_position\x18\x05 \x01(\x03\x12\x12\n\ndata_bytes\x18\x06 \x01(\x0c\x12\x16\n\x0e\x63omplete_chunk\x18\x07 \x01(\x08"@\n\x12\x46ollowerAssignment\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c"=\n\x0f\x43loneAssignment\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c">\n\x10\x44ropSubscription\x12\x11\n\tleader_id\x18\x01 \x01(\x0c\x12\x17\n\x0fsubscription_id\x18\x02 \x01(\x0c\x32\x9d\x01\n\x06Gossip\x12N\n\x06Update\x12".event_store.cluster.GossipRequest\x1a .event_store.cluster.ClusterInfo\x12\x43\n\x04Read\x12\x19.event_store.client.Empty\x1a .event_store.cluster.ClusterInfo2\xa9\x05\n\tElections\x12O\n\nViewChange\x12&.event_store.cluster.ViewChangeRequest\x1a\x19.event_store.client.Empty\x12Y\n\x0fViewChangeProof\x12+.event_store.cluster.ViewChangeProofRequest\x1a\x19.event_store.client.Empty\x12I\n\x07Prepare\x12#.event_store.cluster.PrepareRequest\x1a\x19.event_store.client.Empty\x12M\n\tPrepareOk\x12%.event_store.cluster.PrepareOkRequest\x1a\x19.event_store.client.Empty\x12K\n\x08Proposal\x12$.event_store.cluster.ProposalRequest\x1a\x19.event_store.client.Empty\x12G\n\x06\x41\x63\x63\x65pt\x12".event_store.cluster.AcceptRequest\x1a\x19.event_store.client.Empty\x12]\n\x11LeaderIsResigning\x12-.event_store.cluster.LeaderIsResigningRequest\x1a\x19.event_store.client.Empty\x12\x61\n\x13LeaderIsResigningOk\x12/.event_store.cluster.LeaderIsResigningOkRequest\x1a\x19.event_store.client.EmptyB\'\n%com.eventstore.dbclient.proto.clusterb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.cluster_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.cluster_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n%com.eventstore.dbclient.proto.cluster" - ) - _globals["_GOSSIPREQUEST"]._serialized_start = 98 - _globals["_GOSSIPREQUEST"]._serialized_end = 208 - _globals["_VIEWCHANGEREQUEST"]._serialized_start = 211 - _globals["_VIEWCHANGEREQUEST"]._serialized_end = 351 - _globals["_VIEWCHANGEPROOFREQUEST"]._serialized_start = 354 - _globals["_VIEWCHANGEPROOFREQUEST"]._serialized_end = 499 - _globals["_PREPAREREQUEST"]._serialized_start = 501 - _globals["_PREPAREREQUEST"]._serialized_end = 628 - _globals["_PREPAREOKREQUEST"]._serialized_start = 631 - _globals["_PREPAREOKREQUEST"]._serialized_end = 1073 - _globals["_PROPOSALREQUEST"]._serialized_start = 1076 - _globals["_PROPOSALREQUEST"]._serialized_end = 1558 - _globals["_ACCEPTREQUEST"]._serialized_start = 1561 - _globals["_ACCEPTREQUEST"]._serialized_end = 1784 - _globals["_LEADERISRESIGNINGREQUEST"]._serialized_start = 1786 - _globals["_LEADERISRESIGNINGREQUEST"]._serialized_end = 1909 - _globals["_LEADERISRESIGNINGOKREQUEST"]._serialized_start = 1912 - _globals["_LEADERISRESIGNINGOKREQUEST"]._serialized_end = 2134 - _globals["_CLUSTERINFO"]._serialized_start = 2136 - _globals["_CLUSTERINFO"]._serialized_end = 2199 - _globals["_ENDPOINT"]._serialized_start = 2201 - _globals["_ENDPOINT"]._serialized_end = 2242 - _globals["_MEMBERINFO"]._serialized_start = 2245 - _globals["_MEMBERINFO"]._serialized_end = 3276 - _globals["_MEMBERINFO_VNODESTATE"]._serialized_start = 2994 - _globals["_MEMBERINFO_VNODESTATE"]._serialized_end = 3276 - _globals["_REPLICALOGWRITE"]._serialized_start = 3278 - _globals["_REPLICALOGWRITE"]._serialized_end = 3337 - _globals["_REPLICATEDTO"]._serialized_start = 3339 - _globals["_REPLICATEDTO"]._serialized_end = 3375 - _globals["_EPOCH"]._serialized_start = 3377 - _globals["_EPOCH"]._serialized_end = 3448 - _globals["_SUBSCRIBEREPLICA"]._serialized_start = 3451 - _globals["_SUBSCRIBEREPLICA"]._serialized_end = 3667 - _globals["_REPLICASUBSCRIPTIONRETRY"]._serialized_start = 3669 - _globals["_REPLICASUBSCRIPTIONRETRY"]._serialized_end = 3739 - _globals["_REPLICASUBSCRIBED"]._serialized_start = 3741 - _globals["_REPLICASUBSCRIBED"]._serialized_end = 3835 - _globals["_REPLICALOGPOSITIONACK"]._serialized_start = 3837 - _globals["_REPLICALOGPOSITIONACK"]._serialized_end = 3948 - _globals["_CREATECHUNK"]._serialized_start = 3951 - _globals["_CREATECHUNK"]._serialized_end = 4083 - _globals["_RAWCHUNKBULK"]._serialized_start = 4086 - _globals["_RAWCHUNKBULK"]._serialized_end = 4263 - _globals["_DATACHUNKBULK"]._serialized_start = 4266 - _globals["_DATACHUNKBULK"]._serialized_end = 4454 - _globals["_FOLLOWERASSIGNMENT"]._serialized_start = 4456 - _globals["_FOLLOWERASSIGNMENT"]._serialized_end = 4520 - _globals["_CLONEASSIGNMENT"]._serialized_start = 4522 - _globals["_CLONEASSIGNMENT"]._serialized_end = 4583 - _globals["_DROPSUBSCRIPTION"]._serialized_start = 4585 - _globals["_DROPSUBSCRIPTION"]._serialized_end = 4647 - _globals["_GOSSIP"]._serialized_start = 4650 - _globals["_GOSSIP"]._serialized_end = 4807 - _globals["_ELECTIONS"]._serialized_start = 4810 - _globals["_ELECTIONS"]._serialized_end = 5491 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n%com.eventstore.dbclient.proto.cluster" + _GOSSIPREQUEST._serialized_start = 98 + _GOSSIPREQUEST._serialized_end = 208 + _VIEWCHANGEREQUEST._serialized_start = 211 + _VIEWCHANGEREQUEST._serialized_end = 351 + _VIEWCHANGEPROOFREQUEST._serialized_start = 354 + _VIEWCHANGEPROOFREQUEST._serialized_end = 499 + _PREPAREREQUEST._serialized_start = 501 + _PREPAREREQUEST._serialized_end = 628 + _PREPAREOKREQUEST._serialized_start = 631 + _PREPAREOKREQUEST._serialized_end = 1073 + _PROPOSALREQUEST._serialized_start = 1076 + _PROPOSALREQUEST._serialized_end = 1558 + _ACCEPTREQUEST._serialized_start = 1561 + _ACCEPTREQUEST._serialized_end = 1784 + _LEADERISRESIGNINGREQUEST._serialized_start = 1786 + _LEADERISRESIGNINGREQUEST._serialized_end = 1909 + _LEADERISRESIGNINGOKREQUEST._serialized_start = 1912 + _LEADERISRESIGNINGOKREQUEST._serialized_end = 2134 + _CLUSTERINFO._serialized_start = 2136 + _CLUSTERINFO._serialized_end = 2199 + _ENDPOINT._serialized_start = 2201 + _ENDPOINT._serialized_end = 2242 + _MEMBERINFO._serialized_start = 2245 + _MEMBERINFO._serialized_end = 3276 + _MEMBERINFO_VNODESTATE._serialized_start = 2994 + _MEMBERINFO_VNODESTATE._serialized_end = 3276 + _REPLICALOGWRITE._serialized_start = 3278 + _REPLICALOGWRITE._serialized_end = 3337 + _REPLICATEDTO._serialized_start = 3339 + _REPLICATEDTO._serialized_end = 3375 + _EPOCH._serialized_start = 3377 + _EPOCH._serialized_end = 3448 + _SUBSCRIBEREPLICA._serialized_start = 3451 + _SUBSCRIBEREPLICA._serialized_end = 3667 + _REPLICASUBSCRIPTIONRETRY._serialized_start = 3669 + _REPLICASUBSCRIPTIONRETRY._serialized_end = 3739 + _REPLICASUBSCRIBED._serialized_start = 3741 + _REPLICASUBSCRIBED._serialized_end = 3835 + _REPLICALOGPOSITIONACK._serialized_start = 3837 + _REPLICALOGPOSITIONACK._serialized_end = 3948 + _CREATECHUNK._serialized_start = 3951 + _CREATECHUNK._serialized_end = 4083 + _RAWCHUNKBULK._serialized_start = 4086 + _RAWCHUNKBULK._serialized_end = 4263 + _DATACHUNKBULK._serialized_start = 4266 + _DATACHUNKBULK._serialized_end = 4454 + _FOLLOWERASSIGNMENT._serialized_start = 4456 + _FOLLOWERASSIGNMENT._serialized_end = 4520 + _CLONEASSIGNMENT._serialized_start = 4522 + _CLONEASSIGNMENT._serialized_end = 4583 + _DROPSUBSCRIPTION._serialized_start = 4585 + _DROPSUBSCRIPTION._serialized_end = 4647 + _GOSSIP._serialized_start = 4650 + _GOSSIP._serialized_end = 4807 + _ELECTIONS._serialized_start = 4810 + _ELECTIONS._serialized_end = 5491 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/cluster_pb2.pyi b/esdbclient/protos/Grpc/cluster_pb2.pyi index 6de2519..7be6bf1 100644 --- a/esdbclient/protos/Grpc/cluster_pb2.pyi +++ b/esdbclient/protos/Grpc/cluster_pb2.pyi @@ -2,6 +2,7 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc import esdbclient.protos.Grpc.shared_pb2 @@ -19,7 +20,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing_extensions.final +@typing.final class GossipRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -36,28 +37,26 @@ class GossipRequest(google.protobuf.message.Message): server: global___EndPoint | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal["info", b"info", "server", b"server"], + self, field_name: typing.Literal["info", b"info", "server", b"server"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal["info", b"info", "server", b"server"], + self, field_name: typing.Literal["info", b"info", "server", b"server"] ) -> None: ... global___GossipRequest = GossipRequest -@typing_extensions.final +@typing.final class ViewChangeRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SERVER_ID_FIELD_NUMBER: builtins.int SERVER_HTTP_FIELD_NUMBER: builtins.int ATTEMPTED_VIEW_FIELD_NUMBER: builtins.int + attempted_view: builtins.int @property def server_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def server_http(self) -> global___EndPoint: ... - attempted_view: builtins.int def __init__( self, *, @@ -67,13 +66,13 @@ class ViewChangeRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "server_http", b"server_http", "server_id", b"server_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "attempted_view", b"attempted_view", "server_http", @@ -85,18 +84,18 @@ class ViewChangeRequest(google.protobuf.message.Message): global___ViewChangeRequest = ViewChangeRequest -@typing_extensions.final +@typing.final class ViewChangeProofRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SERVER_ID_FIELD_NUMBER: builtins.int SERVER_HTTP_FIELD_NUMBER: builtins.int INSTALLED_VIEW_FIELD_NUMBER: builtins.int + installed_view: builtins.int @property def server_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def server_http(self) -> global___EndPoint: ... - installed_view: builtins.int def __init__( self, *, @@ -106,13 +105,13 @@ class ViewChangeProofRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "server_http", b"server_http", "server_id", b"server_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "installed_view", b"installed_view", "server_http", @@ -124,18 +123,18 @@ class ViewChangeProofRequest(google.protobuf.message.Message): global___ViewChangeProofRequest = ViewChangeProofRequest -@typing_extensions.final +@typing.final class PrepareRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor SERVER_ID_FIELD_NUMBER: builtins.int SERVER_HTTP_FIELD_NUMBER: builtins.int VIEW_FIELD_NUMBER: builtins.int + view: builtins.int @property def server_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def server_http(self) -> global___EndPoint: ... - view: builtins.int def __init__( self, *, @@ -145,20 +144,20 @@ class PrepareRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "server_http", b"server_http", "server_id", b"server_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "server_http", b"server_http", "server_id", b"server_id", "view", b"view" ], ) -> None: ... global___PrepareRequest = PrepareRequest -@typing_extensions.final +@typing.final class PrepareOkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -175,20 +174,20 @@ class PrepareOkRequest(google.protobuf.message.Message): NODE_PRIORITY_FIELD_NUMBER: builtins.int CLUSTER_INFO_FIELD_NUMBER: builtins.int view: builtins.int + epoch_number: builtins.int + epoch_position: builtins.int + last_commit_position: builtins.int + writer_checkpoint: builtins.int + chaser_checkpoint: builtins.int + node_priority: builtins.int @property def server_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def server_http(self) -> global___EndPoint: ... - epoch_number: builtins.int - epoch_position: builtins.int @property def epoch_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def epoch_leader_instance_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... - last_commit_position: builtins.int - writer_checkpoint: builtins.int - chaser_checkpoint: builtins.int - node_priority: builtins.int @property def cluster_info(self) -> global___ClusterInfo: ... def __init__( @@ -209,7 +208,7 @@ class PrepareOkRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "cluster_info", b"cluster_info", "epoch_id", @@ -224,7 +223,7 @@ class PrepareOkRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "chaser_checkpoint", b"chaser_checkpoint", "cluster_info", @@ -254,7 +253,7 @@ class PrepareOkRequest(google.protobuf.message.Message): global___PrepareOkRequest = PrepareOkRequest -@typing_extensions.final +@typing.final class ProposalRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -271,6 +270,13 @@ class ProposalRequest(google.protobuf.message.Message): WRITER_CHECKPOINT_FIELD_NUMBER: builtins.int CHASER_CHECKPOINT_FIELD_NUMBER: builtins.int NODE_PRIORITY_FIELD_NUMBER: builtins.int + view: builtins.int + epoch_number: builtins.int + epoch_position: builtins.int + last_commit_position: builtins.int + writer_checkpoint: builtins.int + chaser_checkpoint: builtins.int + node_priority: builtins.int @property def server_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property @@ -279,17 +285,10 @@ class ProposalRequest(google.protobuf.message.Message): def leader_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def leader_http(self) -> global___EndPoint: ... - view: builtins.int - epoch_number: builtins.int - epoch_position: builtins.int @property def epoch_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def epoch_leader_instance_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... - last_commit_position: builtins.int - writer_checkpoint: builtins.int - chaser_checkpoint: builtins.int - node_priority: builtins.int def __init__( self, *, @@ -309,7 +308,7 @@ class ProposalRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "epoch_id", b"epoch_id", "epoch_leader_instance_id", @@ -326,7 +325,7 @@ class ProposalRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "chaser_checkpoint", b"chaser_checkpoint", "epoch_id", @@ -358,7 +357,7 @@ class ProposalRequest(google.protobuf.message.Message): global___ProposalRequest = ProposalRequest -@typing_extensions.final +@typing.final class AcceptRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -367,6 +366,7 @@ class AcceptRequest(google.protobuf.message.Message): LEADER_ID_FIELD_NUMBER: builtins.int LEADER_HTTP_FIELD_NUMBER: builtins.int VIEW_FIELD_NUMBER: builtins.int + view: builtins.int @property def server_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property @@ -375,7 +375,6 @@ class AcceptRequest(google.protobuf.message.Message): def leader_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def leader_http(self) -> global___EndPoint: ... - view: builtins.int def __init__( self, *, @@ -387,7 +386,7 @@ class AcceptRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_http", b"leader_http", "leader_id", @@ -400,7 +399,7 @@ class AcceptRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_http", b"leader_http", "leader_id", @@ -416,7 +415,7 @@ class AcceptRequest(google.protobuf.message.Message): global___AcceptRequest = AcceptRequest -@typing_extensions.final +@typing.final class LeaderIsResigningRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -434,20 +433,20 @@ class LeaderIsResigningRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_http", b"leader_http", "leader_id", b"leader_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_http", b"leader_http", "leader_id", b"leader_id" ], ) -> None: ... global___LeaderIsResigningRequest = LeaderIsResigningRequest -@typing_extensions.final +@typing.final class LeaderIsResigningOkRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -473,7 +472,7 @@ class LeaderIsResigningOkRequest(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_http", b"leader_http", "leader_id", @@ -486,7 +485,7 @@ class LeaderIsResigningOkRequest(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_http", b"leader_http", "leader_id", @@ -500,7 +499,7 @@ class LeaderIsResigningOkRequest(google.protobuf.message.Message): global___LeaderIsResigningOkRequest = LeaderIsResigningOkRequest -@typing_extensions.final +@typing.final class ClusterInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -516,13 +515,11 @@ class ClusterInfo(google.protobuf.message.Message): *, members: collections.abc.Iterable[global___MemberInfo] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["members", b"members"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["members", b"members"]) -> None: ... global___ClusterInfo = ClusterInfo -@typing_extensions.final +@typing.final class EndPoint(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -537,13 +534,12 @@ class EndPoint(google.protobuf.message.Message): port: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["address", b"address", "port", b"port"], + self, field_name: typing.Literal["address", b"address", "port", b"port"] ) -> None: ... global___EndPoint = EndPoint -@typing_extensions.final +@typing.final class MemberInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -556,7 +552,7 @@ class MemberInfo(google.protobuf.message.Message): MemberInfo._VNodeState.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor Initializing: MemberInfo._VNodeState.ValueType # 0 DiscoverLeader: MemberInfo._VNodeState.ValueType # 1 @@ -614,17 +610,9 @@ class MemberInfo(google.protobuf.message.Message): ADVERTISE_HTTP_PORT_TO_CLIENT_AS_FIELD_NUMBER: builtins.int ADVERTISE_TCP_PORT_TO_CLIENT_AS_FIELD_NUMBER: builtins.int ES_VERSION_FIELD_NUMBER: builtins.int - @property - def instance_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... time_stamp: builtins.int state: global___MemberInfo.VNodeState.ValueType is_alive: builtins.bool - @property - def http_end_point(self) -> global___EndPoint: ... - @property - def internal_tcp(self) -> global___EndPoint: ... - @property - def external_tcp(self) -> global___EndPoint: ... internal_tcp_uses_tls: builtins.bool external_tcp_uses_tls: builtins.bool last_commit_position: builtins.int @@ -632,14 +620,22 @@ class MemberInfo(google.protobuf.message.Message): chaser_checkpoint: builtins.int epoch_position: builtins.int epoch_number: builtins.int - @property - def epoch_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... node_priority: builtins.int is_read_only_replica: builtins.bool advertise_host_to_client_as: builtins.str advertise_http_port_to_client_as: builtins.int advertise_tcp_port_to_client_as: builtins.int es_version: builtins.str + @property + def instance_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... + @property + def http_end_point(self) -> global___EndPoint: ... + @property + def internal_tcp(self) -> global___EndPoint: ... + @property + def external_tcp(self) -> global___EndPoint: ... + @property + def epoch_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... def __init__( self, *, @@ -667,7 +663,7 @@ class MemberInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "epoch_id", b"epoch_id", "external_tcp", @@ -682,7 +678,7 @@ class MemberInfo(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "advertise_host_to_client_as", b"advertise_host_to_client_as", "advertise_http_port_to_client_as", @@ -730,7 +726,7 @@ class MemberInfo(google.protobuf.message.Message): global___MemberInfo = MemberInfo -@typing_extensions.final +@typing.final class ReplicaLogWrite(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -746,14 +742,14 @@ class ReplicaLogWrite(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "log_position", b"log_position", "replica_id", b"replica_id" ], ) -> None: ... global___ReplicaLogWrite = ReplicaLogWrite -@typing_extensions.final +@typing.final class ReplicatedTo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -765,12 +761,12 @@ class ReplicatedTo(google.protobuf.message.Message): log_position: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["log_position", b"log_position"] + self, field_name: typing.Literal["log_position", b"log_position"] ) -> None: ... global___ReplicatedTo = ReplicatedTo -@typing_extensions.final +@typing.final class Epoch(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -789,7 +785,7 @@ class Epoch(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "epoch_id", b"epoch_id", "epoch_number", @@ -801,7 +797,7 @@ class Epoch(google.protobuf.message.Message): global___Epoch = Epoch -@typing_extensions.final +@typing.final class SubscribeReplica(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -816,18 +812,18 @@ class SubscribeReplica(google.protobuf.message.Message): VERSION_FIELD_NUMBER: builtins.int log_position: builtins.int chunk_id: builtins.bytes - @property - def LastEpochs( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___Epoch - ]: ... ip: builtins.bytes port: builtins.int leader_id: builtins.bytes subscription_id: builtins.bytes is_promotable: builtins.bool version: builtins.int + @property + def LastEpochs( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___Epoch + ]: ... def __init__( self, *, @@ -843,7 +839,7 @@ class SubscribeReplica(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "LastEpochs", b"LastEpochs", "chunk_id", @@ -867,7 +863,7 @@ class SubscribeReplica(google.protobuf.message.Message): global___SubscribeReplica = SubscribeReplica -@typing_extensions.final +@typing.final class ReplicaSubscriptionRetry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -883,14 +879,14 @@ class ReplicaSubscriptionRetry(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_id", b"leader_id", "subscription_id", b"subscription_id" ], ) -> None: ... global___ReplicaSubscriptionRetry = ReplicaSubscriptionRetry -@typing_extensions.final +@typing.final class ReplicaSubscribed(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -909,7 +905,7 @@ class ReplicaSubscribed(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_id", b"leader_id", "subscription_id", @@ -921,7 +917,7 @@ class ReplicaSubscribed(google.protobuf.message.Message): global___ReplicaSubscribed = ReplicaSubscribed -@typing_extensions.final +@typing.final class ReplicaLogPositionAck(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -940,7 +936,7 @@ class ReplicaLogPositionAck(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "replication_log_position", b"replication_log_position", "subscription_id", @@ -952,7 +948,7 @@ class ReplicaLogPositionAck(google.protobuf.message.Message): global___ReplicaLogPositionAck = ReplicaLogPositionAck -@typing_extensions.final +@typing.final class CreateChunk(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -977,7 +973,7 @@ class CreateChunk(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "chunk_header_bytes", b"chunk_header_bytes", "file_size", @@ -993,7 +989,7 @@ class CreateChunk(google.protobuf.message.Message): global___CreateChunk = CreateChunk -@typing_extensions.final +@typing.final class RawChunkBulk(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1024,7 +1020,7 @@ class RawChunkBulk(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "chunk_end_number", b"chunk_end_number", "chunk_start_number", @@ -1044,7 +1040,7 @@ class RawChunkBulk(google.protobuf.message.Message): global___RawChunkBulk = RawChunkBulk -@typing_extensions.final +@typing.final class DataChunkBulk(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1075,7 +1071,7 @@ class DataChunkBulk(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "chunk_end_number", b"chunk_end_number", "chunk_start_number", @@ -1095,7 +1091,7 @@ class DataChunkBulk(google.protobuf.message.Message): global___DataChunkBulk = DataChunkBulk -@typing_extensions.final +@typing.final class FollowerAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1111,14 +1107,14 @@ class FollowerAssignment(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_id", b"leader_id", "subscription_id", b"subscription_id" ], ) -> None: ... global___FollowerAssignment = FollowerAssignment -@typing_extensions.final +@typing.final class CloneAssignment(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1134,14 +1130,14 @@ class CloneAssignment(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_id", b"leader_id", "subscription_id", b"subscription_id" ], ) -> None: ... global___CloneAssignment = CloneAssignment -@typing_extensions.final +@typing.final class DropSubscription(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1157,7 +1153,7 @@ class DropSubscription(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "leader_id", b"leader_id", "subscription_id", b"subscription_id" ], ) -> None: ... diff --git a/esdbclient/protos/Grpc/code_pb2.py b/esdbclient/protos/Grpc/code_pb2.py index d3fd9d7..05778a0 100644 --- a/esdbclient/protos/Grpc/code_pb2.py +++ b/esdbclient/protos/Grpc/code_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/code.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -19,16 +18,14 @@ b"\n!esdbclient/protos/Grpc/code.proto\x12\x0e\x65sdbclient.rpc*\xb7\x02\n\x04\x43ode\x12\x06\n\x02OK\x10\x00\x12\r\n\tCANCELLED\x10\x01\x12\x0b\n\x07UNKNOWN\x10\x02\x12\x14\n\x10INVALID_ARGUMENT\x10\x03\x12\x15\n\x11\x44\x45\x41\x44LINE_EXCEEDED\x10\x04\x12\r\n\tNOT_FOUND\x10\x05\x12\x12\n\x0e\x41LREADY_EXISTS\x10\x06\x12\x15\n\x11PERMISSION_DENIED\x10\x07\x12\x13\n\x0fUNAUTHENTICATED\x10\x10\x12\x16\n\x12RESOURCE_EXHAUSTED\x10\x08\x12\x17\n\x13\x46\x41ILED_PRECONDITION\x10\t\x12\x0b\n\x07\x41\x42ORTED\x10\n\x12\x10\n\x0cOUT_OF_RANGE\x10\x0b\x12\x11\n\rUNIMPLEMENTED\x10\x0c\x12\x0c\n\x08INTERNAL\x10\r\x12\x0f\n\x0bUNAVAILABLE\x10\x0e\x12\r\n\tDATA_LOSS\x10\x0f\x42X\n\x0e\x63om.google.rpcB\tCodeProtoP\x01Z3google.golang.org/genproto/googleapis/rpc/code;code\xa2\x02\x03RPCb\x06proto3" ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.code_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.code_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.rpcB\tCodeProtoP\001Z3google.golang.org/genproto/googleapis/rpc/code;code\242\002\003RPC" - ) - _globals["_CODE"]._serialized_start = 54 - _globals["_CODE"]._serialized_end = 365 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\016com.google.rpcB\tCodeProtoP\001Z3google.golang.org/genproto/googleapis/rpc/code;code\242\002\003RPC" + _CODE._serialized_start = 54 + _CODE._serialized_end = 365 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/code_pb2.pyi b/esdbclient/protos/Grpc/code_pb2.pyi index 249ec15..89c094e 100644 --- a/esdbclient/protos/Grpc/code_pb2.pyi +++ b/esdbclient/protos/Grpc/code_pb2.pyi @@ -15,6 +15,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ + import builtins import google.protobuf.descriptor import google.protobuf.internal.enum_type_wrapper diff --git a/esdbclient/protos/Grpc/gossip_pb2.py b/esdbclient/protos/Grpc/gossip_pb2.py index 3cbc5a4..90ea238 100644 --- a/esdbclient/protos/Grpc/gossip_pb2.py +++ b/esdbclient/protos/Grpc/gossip_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/gossip.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -20,35 +19,25 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#esdbclient/protos/Grpc/gossip.proto\x12\x19\x65vent_store.client.gossip\x1a#esdbclient/protos/Grpc/shared.proto"E\n\x0b\x43lusterInfo\x12\x36\n\x07members\x18\x01' - b' \x03(\x0b\x32%.event_store.client.gossip.MemberInfo")\n\x08\x45ndPoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01' - b" \x01(\t\x12\x0c\n\x04port\x18\x02" - b' \x01(\r"\xfc\x03\n\nMemberInfo\x12-\n\x0binstance_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x12\n\ntime_stamp\x18\x02" - b" \x01(\x03\x12?\n\x05state\x18\x03" - b" \x01(\x0e\x32\x30.event_store.client.gossip.MemberInfo.VNodeState\x12\x10\n\x08is_alive\x18\x04" - b" \x01(\x08\x12;\n\x0ehttp_end_point\x18\x05" - b' \x01(\x0b\x32#.event_store.client.gossip.EndPoint"\x9a\x02\n\nVNodeState\x12\x10\n\x0cInitializing\x10\x00\x12\x12\n\x0e\x44iscoverLeader\x10\x01\x12\x0b\n\x07Unknown\x10\x02\x12\x0e\n\nPreReplica\x10\x03\x12\x0e\n\nCatchingUp\x10\x04\x12\t\n\x05\x43lone\x10\x05\x12\x0c\n\x08\x46ollower\x10\x06\x12\r\n\tPreLeader\x10\x07\x12\n\n\x06Leader\x10\x08\x12\x0b\n\x07Manager\x10\t\x12\x10\n\x0cShuttingDown\x10\n\x12\x0c\n\x08Shutdown\x10\x0b\x12\x16\n\x12ReadOnlyLeaderless\x10\x0c\x12\x16\n\x12PreReadOnlyReplica\x10\r\x12\x13\n\x0fReadOnlyReplica\x10\x0e\x12\x13\n\x0fResigningLeader\x10\x0f\x32S\n\x06Gossip\x12I\n\x04Read\x12\x19.event_store.client.Empty\x1a&.event_store.client.gossip.ClusterInfoB&\n$com.eventstore.dbclient.proto.gossipb\x06proto3' + b'\n#esdbclient/protos/Grpc/gossip.proto\x12\x19\x65vent_store.client.gossip\x1a#esdbclient/protos/Grpc/shared.proto"E\n\x0b\x43lusterInfo\x12\x36\n\x07members\x18\x01 \x03(\x0b\x32%.event_store.client.gossip.MemberInfo")\n\x08\x45ndPoint\x12\x0f\n\x07\x61\x64\x64ress\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\r"\xfc\x03\n\nMemberInfo\x12-\n\x0binstance_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x12\n\ntime_stamp\x18\x02 \x01(\x03\x12?\n\x05state\x18\x03 \x01(\x0e\x32\x30.event_store.client.gossip.MemberInfo.VNodeState\x12\x10\n\x08is_alive\x18\x04 \x01(\x08\x12;\n\x0ehttp_end_point\x18\x05 \x01(\x0b\x32#.event_store.client.gossip.EndPoint"\x9a\x02\n\nVNodeState\x12\x10\n\x0cInitializing\x10\x00\x12\x12\n\x0e\x44iscoverLeader\x10\x01\x12\x0b\n\x07Unknown\x10\x02\x12\x0e\n\nPreReplica\x10\x03\x12\x0e\n\nCatchingUp\x10\x04\x12\t\n\x05\x43lone\x10\x05\x12\x0c\n\x08\x46ollower\x10\x06\x12\r\n\tPreLeader\x10\x07\x12\n\n\x06Leader\x10\x08\x12\x0b\n\x07Manager\x10\t\x12\x10\n\x0cShuttingDown\x10\n\x12\x0c\n\x08Shutdown\x10\x0b\x12\x16\n\x12ReadOnlyLeaderless\x10\x0c\x12\x16\n\x12PreReadOnlyReplica\x10\r\x12\x13\n\x0fReadOnlyReplica\x10\x0e\x12\x13\n\x0fResigningLeader\x10\x0f\x32S\n\x06Gossip\x12I\n\x04Read\x12\x19.event_store.client.Empty\x1a&.event_store.client.gossip.ClusterInfoB&\n$com.eventstore.dbclient.proto.gossipb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.gossip_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.gossip_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n$com.eventstore.dbclient.proto.gossip" - ) - _globals["_CLUSTERINFO"]._serialized_start = 103 - _globals["_CLUSTERINFO"]._serialized_end = 172 - _globals["_ENDPOINT"]._serialized_start = 174 - _globals["_ENDPOINT"]._serialized_end = 215 - _globals["_MEMBERINFO"]._serialized_start = 218 - _globals["_MEMBERINFO"]._serialized_end = 726 - _globals["_MEMBERINFO_VNODESTATE"]._serialized_start = 444 - _globals["_MEMBERINFO_VNODESTATE"]._serialized_end = 726 - _globals["_GOSSIP"]._serialized_start = 728 - _globals["_GOSSIP"]._serialized_end = 811 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n$com.eventstore.dbclient.proto.gossip" + _CLUSTERINFO._serialized_start = 103 + _CLUSTERINFO._serialized_end = 172 + _ENDPOINT._serialized_start = 174 + _ENDPOINT._serialized_end = 215 + _MEMBERINFO._serialized_start = 218 + _MEMBERINFO._serialized_end = 726 + _MEMBERINFO_VNODESTATE._serialized_start = 444 + _MEMBERINFO_VNODESTATE._serialized_end = 726 + _GOSSIP._serialized_start = 728 + _GOSSIP._serialized_end = 811 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/gossip_pb2.pyi b/esdbclient/protos/Grpc/gossip_pb2.pyi index b5c21b5..ca92f99 100644 --- a/esdbclient/protos/Grpc/gossip_pb2.pyi +++ b/esdbclient/protos/Grpc/gossip_pb2.pyi @@ -2,6 +2,7 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc import esdbclient.protos.Grpc.shared_pb2 @@ -19,7 +20,7 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing_extensions.final +@typing.final class ClusterInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -35,13 +36,11 @@ class ClusterInfo(google.protobuf.message.Message): *, members: collections.abc.Iterable[global___MemberInfo] | None = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["members", b"members"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["members", b"members"]) -> None: ... global___ClusterInfo = ClusterInfo -@typing_extensions.final +@typing.final class EndPoint(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -56,13 +55,12 @@ class EndPoint(google.protobuf.message.Message): port: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["address", b"address", "port", b"port"], + self, field_name: typing.Literal["address", b"address", "port", b"port"] ) -> None: ... global___EndPoint = EndPoint -@typing_extensions.final +@typing.final class MemberInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -75,7 +73,7 @@ class MemberInfo(google.protobuf.message.Message): MemberInfo._VNodeState.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor Initializing: MemberInfo._VNodeState.ValueType # 0 DiscoverLeader: MemberInfo._VNodeState.ValueType # 1 @@ -117,12 +115,12 @@ class MemberInfo(google.protobuf.message.Message): STATE_FIELD_NUMBER: builtins.int IS_ALIVE_FIELD_NUMBER: builtins.int HTTP_END_POINT_FIELD_NUMBER: builtins.int - @property - def instance_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... time_stamp: builtins.int state: global___MemberInfo.VNodeState.ValueType is_alive: builtins.bool @property + def instance_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... + @property def http_end_point(self) -> global___EndPoint: ... def __init__( self, @@ -135,13 +133,13 @@ class MemberInfo(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "http_end_point", b"http_end_point", "instance_id", b"instance_id" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "http_end_point", b"http_end_point", "instance_id", diff --git a/esdbclient/protos/Grpc/persistent_pb2.py b/esdbclient/protos/Grpc/persistent_pb2.py index 8cb7bbf..f4ebc62 100644 --- a/esdbclient/protos/Grpc/persistent_pb2.py +++ b/esdbclient/protos/Grpc/persistent_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/persistent.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -20,299 +19,127 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b"\n'esdbclient/protos/Grpc/persistent.proto\x12+event_store.client.persistent_subscriptions\x1a#esdbclient/protos/Grpc/shared.proto\"\x99\x07\n\x07ReadReq\x12O\n\x07options\x18\x01" - b" \x01(\x0b\x32<.event_store.client.persistent_subscriptions.ReadReq.OptionsH\x00\x12G\n\x03\x61\x63k\x18\x02" - b" \x01(\x0b\x32\x38.event_store.client.persistent_subscriptions.ReadReq.AckH\x00\x12I\n\x04nack\x18\x03" - b" \x01(\x0b\x32\x39.event_store.client.persistent_subscriptions.ReadReq.NackH\x00\x1a\x85\x03\n\x07Options\x12\x41\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x05" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x12\n\ngroup_name\x18\x02" - b" \x01(\t\x12\x13\n\x0b\x62uffer_size\x18\x03" - b" \x01(\x05\x12\\\n\x0buuid_option\x18\x04" - b" \x01(\x0b\x32G.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption\x1au\n\nUUIDOption\x12/\n\nstructured\x18\x01" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12+\n\x06string\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\t\n\x07\x63ontentB\x0f\n\rstream_option\x1a\x38\n\x03\x41\x63k\x12\n\n\x02id\x18\x01" - b" \x01(\x0c\x12%\n\x03ids\x18\x02" - b" \x03(\x0b\x32\x18.event_store.client.UUID\x1a\xdb\x01\n\x04Nack\x12\n\n\x02id\x18\x01" - b" \x01(\x0c\x12%\n\x03ids\x18\x02" - b" \x03(\x0b\x32\x18.event_store.client.UUID\x12P\n\x06\x61\x63tion\x18\x03" - b" \x01(\x0e\x32@.event_store.client.persistent_subscriptions.ReadReq.Nack.Action\x12\x0e\n\x06reason\x18\x04" - b' \x01(\t">\n\x06\x41\x63tion\x12\x0b\n\x07Unknown\x10\x00\x12\x08\n\x04Park\x10\x01\x12\t\n\x05Retry\x10\x02\x12\x08\n\x04Skip\x10\x03\x12\x08\n\x04Stop\x10\x04\x42\t\n\x07\x63ontent"\x94\x08\n\x08ReadResp\x12P\n\x05\x65vent\x18\x01' - b" \x01(\x0b\x32?.event_store.client.persistent_subscriptions.ReadResp.ReadEventH\x00\x12s\n\x19subscription_confirmation\x18\x02" - b" \x01(\x0b\x32N.event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmationH\x00\x1a\x80\x06\n\tReadEvent\x12\\\n\x05\x65vent\x18\x01" - b" \x01(\x0b\x32M.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent\x12[\n\x04link\x18\x02" - b" \x01(\x0b\x32M.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent\x12\x19\n\x0f\x63ommit_position\x18\x03" - b" \x01(\x04H\x00\x12\x30\n\x0bno_position\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x15\n\x0bretry_count\x18\x05" - b" \x01(\x05H\x01\x12\x33\n\x0eno_retry_count\x18\x06" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x1a\x89\x03\n\rRecordedEvent\x12$\n\x02id\x18\x01" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12?\n\x11stream_identifier\x18\x02" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x17\n\x0fstream_revision\x18\x03" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x04" - b" \x01(\x04\x12\x17\n\x0f\x63ommit_position\x18\x05" - b" \x01(\x04\x12m\n\x08metadata\x18\x06" - b" \x03(\x0b\x32[.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x07" - b" \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x08" - b" \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01" - b" \x01(\t\x12\r\n\x05value\x18\x02" - b" \x01(\t:\x02\x38\x01\x42\n\n\x08positionB\x07\n\x05\x63ount\x1a\x33\n\x18SubscriptionConfirmation\x12\x17\n\x0fsubscription_id\x18\x01" - b' \x01(\tB\t\n\x07\x63ontent"\xf6\x10\n\tCreateReq\x12O\n\x07options\x18\x01' - b" \x01(\x0b\x32>.event_store.client.persistent_subscriptions.CreateReq.Options\x1a\xf0\x02\n\x07Options\x12V\n\x06stream\x18\x04" - b" \x01(\x0b\x32\x44.event_store.client.persistent_subscriptions.CreateReq.StreamOptionsH\x00\x12P\n\x03\x61ll\x18\x05" - b" \x01(\x0b\x32\x41.event_store.client.persistent_subscriptions.CreateReq.AllOptionsH\x00\x12\x43\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifierB\x02\x18\x01\x12\x12\n\ngroup_name\x18\x02" - b" \x01(\t\x12Q\n\x08settings\x18\x03" - b" \x01(\x0b\x32?.event_store.client.persistent_subscriptions.CreateReq.SettingsB\x0f\n\rstream_option\x1a\xcd\x01\n\rStreamOptions\x12?\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02" - b" \x01(\x04H\x00\x12*\n\x05start\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x11\n\x0frevision_option\x1a\x88\x06\n\nAllOptions\x12S\n\x08position\x18\x01" - b" \x01(\x0b\x32?.event_store.client.persistent_subscriptions.CreateReq.PositionH\x00\x12*\n\x05start\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x61\n\x06\x66ilter\x18\x04" - b" \x01(\x0b\x32O.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptionsH\x01\x12.\n\tno_filter\x18\x05" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x1a\x9c\x03\n\rFilterOptions\x12w\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32Z.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.ExpressionH\x00\x12p\n\nevent_type\x18\x02" - b" \x01(\x0b\x32Z.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.ExpressionH\x00\x12\r\n\x03max\x18\x03" - b" \x01(\rH\x01\x12*\n\x05\x63ount\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12$\n\x1c\x63heckpointIntervalMultiplier\x18\x05" - b" \x01(\r\x1a+\n\nExpression\x12\r\n\x05regex\x18\x01" - b" \x01(\t\x12\x0e\n\x06prefix\x18\x02" - b" \x03(\tB\x08\n\x06\x66ilterB\x08\n\x06windowB\x0c\n\nall_optionB\x0f\n\rfilter_option\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b" \x01(\x04\x1a\xc4\x04\n\x08Settings\x12\x15\n\rresolve_links\x18\x01" - b" \x01(\x08\x12\x14\n\x08revision\x18\x02" - b" \x01(\x04\x42\x02\x18\x01\x12\x18\n\x10\x65xtra_statistics\x18\x03" - b" \x01(\x08\x12\x17\n\x0fmax_retry_count\x18\x05" - b" \x01(\x05\x12\x1c\n\x14min_checkpoint_count\x18\x07" - b" \x01(\x05\x12\x1c\n\x14max_checkpoint_count\x18\x08" - b" \x01(\x05\x12\x1c\n\x14max_subscriber_count\x18\t" - b" \x01(\x05\x12\x18\n\x10live_buffer_size\x18\n" - b" \x01(\x05\x12\x17\n\x0fread_batch_size\x18\x0b" - b" \x01(\x05\x12\x1b\n\x13history_buffer_size\x18\x0c" - b" \x01(\x05\x12l\n\x17named_consumer_strategy\x18\r" - b" \x01(\x0e\x32G.event_store.client.persistent_subscriptions.CreateReq.ConsumerStrategyB\x02\x18\x01\x12\x1f\n\x15message_timeout_ticks\x18\x04" - b" \x01(\x03H\x00\x12\x1c\n\x12message_timeout_ms\x18\x0e \x01(\x05H\x00\x12" - b" \n\x16\x63heckpoint_after_ticks\x18\x06" - b" \x01(\x03H\x01\x12\x1d\n\x13\x63heckpoint_after_ms\x18\x0f" - b" \x01(\x05H\x01\x12\x19\n\x11\x63onsumer_strategy\x18\x10" - b' \x01(\tB\x11\n\x0fmessage_timeoutB\x12\n\x10\x63heckpoint_after"D\n\x10\x43onsumerStrategy\x12\x14\n\x10\x44ispatchToSingle\x10\x00\x12\x0e\n\nRoundRobin\x10\x01\x12\n\n\x06Pinned\x10\x02"\x0c\n\nCreateResp"\x94\x0c\n\tUpdateReq\x12O\n\x07options\x18\x01' - b" \x01(\x0b\x32>.event_store.client.persistent_subscriptions.UpdateReq.Options\x1a\xf0\x02\n\x07Options\x12V\n\x06stream\x18\x04" - b" \x01(\x0b\x32\x44.event_store.client.persistent_subscriptions.UpdateReq.StreamOptionsH\x00\x12P\n\x03\x61ll\x18\x05" - b" \x01(\x0b\x32\x41.event_store.client.persistent_subscriptions.UpdateReq.AllOptionsH\x00\x12\x43\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifierB\x02\x18\x01\x12\x12\n\ngroup_name\x18\x02" - b" \x01(\t\x12Q\n\x08settings\x18\x03" - b" \x01(\x0b\x32?.event_store.client.persistent_subscriptions.UpdateReq.SettingsB\x0f\n\rstream_option\x1a\xcd\x01\n\rStreamOptions\x12?\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02" - b" \x01(\x04H\x00\x12*\n\x05start\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x11\n\x0frevision_option\x1a\xc5\x01\n\nAllOptions\x12S\n\x08position\x18\x01" - b" \x01(\x0b\x32?.event_store.client.persistent_subscriptions.UpdateReq.PositionH\x00\x12*\n\x05start\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x0c\n\nall_option\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b" \x01(\x04\x1a\xa5\x04\n\x08Settings\x12\x15\n\rresolve_links\x18\x01" - b" \x01(\x08\x12\x14\n\x08revision\x18\x02" - b" \x01(\x04\x42\x02\x18\x01\x12\x18\n\x10\x65xtra_statistics\x18\x03" - b" \x01(\x08\x12\x17\n\x0fmax_retry_count\x18\x05" - b" \x01(\x05\x12\x1c\n\x14min_checkpoint_count\x18\x07" - b" \x01(\x05\x12\x1c\n\x14max_checkpoint_count\x18\x08" - b" \x01(\x05\x12\x1c\n\x14max_subscriber_count\x18\t" - b" \x01(\x05\x12\x18\n\x10live_buffer_size\x18\n" - b" \x01(\x05\x12\x17\n\x0fread_batch_size\x18\x0b" - b" \x01(\x05\x12\x1b\n\x13history_buffer_size\x18\x0c" - b" \x01(\x05\x12h\n\x17named_consumer_strategy\x18\r" - b" \x01(\x0e\x32G.event_store.client.persistent_subscriptions.UpdateReq.ConsumerStrategy\x12\x1f\n\x15message_timeout_ticks\x18\x04" - b" \x01(\x03H\x00\x12\x1c\n\x12message_timeout_ms\x18\x0e \x01(\x05H\x00\x12" - b" \n\x16\x63heckpoint_after_ticks\x18\x06" - b" \x01(\x03H\x01\x12\x1d\n\x13\x63heckpoint_after_ms\x18\x0f" - b' \x01(\x05H\x01\x42\x11\n\x0fmessage_timeoutB\x12\n\x10\x63heckpoint_after"D\n\x10\x43onsumerStrategy\x12\x14\n\x10\x44ispatchToSingle\x10\x00\x12\x0e\n\nRoundRobin\x10\x01\x12\n\n\x06Pinned\x10\x02"\x0c\n\nUpdateResp"\xfa\x01\n\tDeleteReq\x12O\n\x07options\x18\x01' - b" \x01(\x0b\x32>.event_store.client.persistent_subscriptions.DeleteReq.Options\x1a\x9b\x01\n\x07Options\x12\x41\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x12\n\ngroup_name\x18\x02" - b' \x01(\tB\x0f\n\rstream_option"\x0c\n\nDeleteResp"\xfc\x01\n\nGetInfoReq\x12P\n\x07options\x18\x01' - b" \x01(\x0b\x32?.event_store.client.persistent_subscriptions.GetInfoReq.Options\x1a\x9b\x01\n\x07Options\x12\x41\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x12\n\ngroup_name\x18\x03" - b' \x01(\tB\x0f\n\rstream_option"g\n\x0bGetInfoResp\x12X\n\x11subscription_info\x18\x01' - b' \x01(\x0b\x32=.event_store.client.persistent_subscriptions.SubscriptionInfo"\xf0\t\n\x10SubscriptionInfo\x12\x14\n\x0c\x65vent_source\x18\x01' - b" \x01(\t\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03" - b" \x01(\t\x12\x61\n\x0b\x63onnections\x18\x04" - b" \x03(\x0b\x32L.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo\x12\x1a\n\x12\x61verage_per_second\x18\x05" - b" \x01(\x05\x12\x13\n\x0btotal_items\x18\x06" - b" \x01(\x03\x12$\n\x1c\x63ount_since_last_measurement\x18\x07 \x01(\x03\x12(\n" - b" last_checkpointed_event_position\x18\x08" - b" \x01(\t\x12!\n\x19last_known_event_position\x18\t" - b" \x01(\t\x12\x18\n\x10resolve_link_tos\x18\n" - b" \x01(\x08\x12\x12\n\nstart_from\x18\x0b" - b" \x01(\t\x12$\n\x1cmessage_timeout_milliseconds\x18\x0c" - b" \x01(\x05\x12\x18\n\x10\x65xtra_statistics\x18\r" - b" \x01(\x08\x12\x17\n\x0fmax_retry_count\x18\x0e" - b" \x01(\x05\x12\x18\n\x10live_buffer_size\x18\x0f" - b" \x01(\x05\x12\x13\n\x0b\x62uffer_size\x18\x10" - b" \x01(\x05\x12\x17\n\x0fread_batch_size\x18\x11" - b" \x01(\x05\x12&\n\x1e\x63heck_point_after_milliseconds\x18\x12" - b" \x01(\x05\x12\x1d\n\x15min_check_point_count\x18\x13" - b" \x01(\x05\x12\x1d\n\x15max_check_point_count\x18\x14" - b" \x01(\x05\x12\x19\n\x11read_buffer_count\x18\x15" - b" \x01(\x05\x12\x19\n\x11live_buffer_count\x18\x16" - b" \x01(\x03\x12\x1a\n\x12retry_buffer_count\x18\x17 \x01(\x05\x12" - b" \n\x18total_in_flight_messages\x18\x18" - b' \x01(\x05\x12"\n\x1aoutstanding_messages_count\x18\x19' - b" \x01(\x05\x12\x1f\n\x17named_consumer_strategy\x18\x1a" - b" \x01(\t\x12\x1c\n\x14max_subscriber_count\x18\x1b" - b" \x01(\x05\x12\x1c\n\x14parked_message_count\x18\x1c" - b" \x01(\x03\x1a\xc5\x02\n\x0e\x43onnectionInfo\x12\x0c\n\x04\x66rom\x18\x01" - b" \x01(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12" - b" \n\x18\x61verage_items_per_second\x18\x03" - b" \x01(\x05\x12\x13\n\x0btotal_items\x18\x04" - b" \x01(\x03\x12$\n\x1c\x63ount_since_last_measurement\x18\x05" - b" \x01(\x03\x12h\n\x15observed_measurements\x18\x06" - b" \x03(\x0b\x32I.event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement\x12\x17\n\x0f\x61vailable_slots\x18\x07" - b" \x01(\x05\x12\x1a\n\x12in_flight_messages\x18\x08" - b" \x01(\x05\x12\x17\n\x0f\x63onnection_name\x18\t" - b" \x01(\t\x1a)\n\x0bMeasurement\x12\x0b\n\x03key\x18\x01" - b" \x01(\t\x12\r\n\x05value\x18\x02" - b' \x01(\x03"\xda\x02\n\x0fReplayParkedReq\x12U\n\x07options\x18\x01' - b" \x01(\x0b\x32\x44.event_store.client.persistent_subscriptions.ReplayParkedReq.Options\x1a\xef\x01\n\x07Options\x12\x12\n\ngroup_name\x18\x01" - b" \x01(\t\x12\x41\n\x11stream_identifier\x18\x02" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x11\n\x07stop_at\x18\x04" - b" \x01(\x03H\x01\x12-\n\x08no_limit\x18\x05" - b' \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x42\x0f\n\rstream_optionB\x10\n\x0estop_at_option"\x12\n\x10ReplayParkedResp"\x92\x03\n\x07ListReq\x12M\n\x07options\x18\x01' - b" \x01(\x0b\x32<.event_store.client.persistent_subscriptions.ListReq.Options\x1a\xb3\x01\n\x07Options\x12;\n\x16list_all_subscriptions\x18\x01" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\\\n\x0flist_for_stream\x18\x02" - b" \x01(\x0b\x32\x41.event_store.client.persistent_subscriptions.ListReq.StreamOptionH\x00\x42\r\n\x0blist_option\x1a\x81\x01\n\x0cStreamOption\x12\x36\n\x06stream\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x02" - b' \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x0f\n\rstream_option"`\n\x08ListResp\x12T\n\rsubscriptions\x18\x01' - b" \x03(\x0b\x32=.event_store.client.persistent_subscriptions.SubscriptionInfo2\xce\x07\n\x17PersistentSubscriptions\x12y\n\x06\x43reate\x12\x36.event_store.client.persistent_subscriptions.CreateReq\x1a\x37.event_store.client.persistent_subscriptions.CreateResp\x12y\n\x06Update\x12\x36.event_store.client.persistent_subscriptions.UpdateReq\x1a\x37.event_store.client.persistent_subscriptions.UpdateResp\x12y\n\x06\x44\x65lete\x12\x36.event_store.client.persistent_subscriptions.DeleteReq\x1a\x37.event_store.client.persistent_subscriptions.DeleteResp\x12w\n\x04Read\x12\x34.event_store.client.persistent_subscriptions.ReadReq\x1a\x35.event_store.client.persistent_subscriptions.ReadResp(\x01\x30\x01\x12|\n\x07GetInfo\x12\x37.event_store.client.persistent_subscriptions.GetInfoReq\x1a\x38.event_store.client.persistent_subscriptions.GetInfoResp\x12\x8b\x01\n\x0cReplayParked\x12<.event_store.client.persistent_subscriptions.ReplayParkedReq\x1a=.event_store.client.persistent_subscriptions.ReplayParkedResp\x12s\n\x04List\x12\x34.event_store.client.persistent_subscriptions.ListReq\x1a\x35.event_store.client.persistent_subscriptions.ListResp\x12H\n\x10RestartSubsystem\x12\x19.event_store.client.Empty\x1a\x19.event_store.client.EmptyB7\n5com.eventstore.dbclient.proto.persistentsubscriptionsb\x06proto3" + b'\n\'esdbclient/protos/Grpc/persistent.proto\x12+event_store.client.persistent_subscriptions\x1a#esdbclient/protos/Grpc/shared.proto"\x99\x07\n\x07ReadReq\x12O\n\x07options\x18\x01 \x01(\x0b\x32<.event_store.client.persistent_subscriptions.ReadReq.OptionsH\x00\x12G\n\x03\x61\x63k\x18\x02 \x01(\x0b\x32\x38.event_store.client.persistent_subscriptions.ReadReq.AckH\x00\x12I\n\x04nack\x18\x03 \x01(\x0b\x32\x39.event_store.client.persistent_subscriptions.ReadReq.NackH\x00\x1a\x85\x03\n\x07Options\x12\x41\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12\x13\n\x0b\x62uffer_size\x18\x03 \x01(\x05\x12\\\n\x0buuid_option\x18\x04 \x01(\x0b\x32G.event_store.client.persistent_subscriptions.ReadReq.Options.UUIDOption\x1au\n\nUUIDOption\x12/\n\nstructured\x18\x01 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12+\n\x06string\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\t\n\x07\x63ontentB\x0f\n\rstream_option\x1a\x38\n\x03\x41\x63k\x12\n\n\x02id\x18\x01 \x01(\x0c\x12%\n\x03ids\x18\x02 \x03(\x0b\x32\x18.event_store.client.UUID\x1a\xdb\x01\n\x04Nack\x12\n\n\x02id\x18\x01 \x01(\x0c\x12%\n\x03ids\x18\x02 \x03(\x0b\x32\x18.event_store.client.UUID\x12P\n\x06\x61\x63tion\x18\x03 \x01(\x0e\x32@.event_store.client.persistent_subscriptions.ReadReq.Nack.Action\x12\x0e\n\x06reason\x18\x04 \x01(\t">\n\x06\x41\x63tion\x12\x0b\n\x07Unknown\x10\x00\x12\x08\n\x04Park\x10\x01\x12\t\n\x05Retry\x10\x02\x12\x08\n\x04Skip\x10\x03\x12\x08\n\x04Stop\x10\x04\x42\t\n\x07\x63ontent"\x94\x08\n\x08ReadResp\x12P\n\x05\x65vent\x18\x01 \x01(\x0b\x32?.event_store.client.persistent_subscriptions.ReadResp.ReadEventH\x00\x12s\n\x19subscription_confirmation\x18\x02 \x01(\x0b\x32N.event_store.client.persistent_subscriptions.ReadResp.SubscriptionConfirmationH\x00\x1a\x80\x06\n\tReadEvent\x12\\\n\x05\x65vent\x18\x01 \x01(\x0b\x32M.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent\x12[\n\x04link\x18\x02 \x01(\x0b\x32M.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent\x12\x19\n\x0f\x63ommit_position\x18\x03 \x01(\x04H\x00\x12\x30\n\x0bno_position\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x15\n\x0bretry_count\x18\x05 \x01(\x05H\x01\x12\x33\n\x0eno_retry_count\x18\x06 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x1a\x89\x03\n\rRecordedEvent\x12$\n\x02id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12?\n\x11stream_identifier\x18\x02 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x17\n\x0fstream_revision\x18\x03 \x01(\x04\x12\x18\n\x10prepare_position\x18\x04 \x01(\x04\x12\x17\n\x0f\x63ommit_position\x18\x05 \x01(\x04\x12m\n\x08metadata\x18\x06 \x03(\x0b\x32[.event_store.client.persistent_subscriptions.ReadResp.ReadEvent.RecordedEvent.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x07 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x08 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08positionB\x07\n\x05\x63ount\x1a\x33\n\x18SubscriptionConfirmation\x12\x17\n\x0fsubscription_id\x18\x01 \x01(\tB\t\n\x07\x63ontent"\xf6\x10\n\tCreateReq\x12O\n\x07options\x18\x01 \x01(\x0b\x32>.event_store.client.persistent_subscriptions.CreateReq.Options\x1a\xf0\x02\n\x07Options\x12V\n\x06stream\x18\x04 \x01(\x0b\x32\x44.event_store.client.persistent_subscriptions.CreateReq.StreamOptionsH\x00\x12P\n\x03\x61ll\x18\x05 \x01(\x0b\x32\x41.event_store.client.persistent_subscriptions.CreateReq.AllOptionsH\x00\x12\x43\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifierB\x02\x18\x01\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12Q\n\x08settings\x18\x03 \x01(\x0b\x32?.event_store.client.persistent_subscriptions.CreateReq.SettingsB\x0f\n\rstream_option\x1a\xcd\x01\n\rStreamOptions\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12*\n\x05start\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x11\n\x0frevision_option\x1a\x88\x06\n\nAllOptions\x12S\n\x08position\x18\x01 \x01(\x0b\x32?.event_store.client.persistent_subscriptions.CreateReq.PositionH\x00\x12*\n\x05start\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x61\n\x06\x66ilter\x18\x04 \x01(\x0b\x32O.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptionsH\x01\x12.\n\tno_filter\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x1a\x9c\x03\n\rFilterOptions\x12w\n\x11stream_identifier\x18\x01 \x01(\x0b\x32Z.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.ExpressionH\x00\x12p\n\nevent_type\x18\x02 \x01(\x0b\x32Z.event_store.client.persistent_subscriptions.CreateReq.AllOptions.FilterOptions.ExpressionH\x00\x12\r\n\x03max\x18\x03 \x01(\rH\x01\x12*\n\x05\x63ount\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12$\n\x1c\x63heckpointIntervalMultiplier\x18\x05 \x01(\r\x1a+\n\nExpression\x12\r\n\x05regex\x18\x01 \x01(\t\x12\x0e\n\x06prefix\x18\x02 \x03(\tB\x08\n\x06\x66ilterB\x08\n\x06windowB\x0c\n\nall_optionB\x0f\n\rfilter_option\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1a\xc4\x04\n\x08Settings\x12\x15\n\rresolve_links\x18\x01 \x01(\x08\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x18\x01\x12\x18\n\x10\x65xtra_statistics\x18\x03 \x01(\x08\x12\x17\n\x0fmax_retry_count\x18\x05 \x01(\x05\x12\x1c\n\x14min_checkpoint_count\x18\x07 \x01(\x05\x12\x1c\n\x14max_checkpoint_count\x18\x08 \x01(\x05\x12\x1c\n\x14max_subscriber_count\x18\t \x01(\x05\x12\x18\n\x10live_buffer_size\x18\n \x01(\x05\x12\x17\n\x0fread_batch_size\x18\x0b \x01(\x05\x12\x1b\n\x13history_buffer_size\x18\x0c \x01(\x05\x12l\n\x17named_consumer_strategy\x18\r \x01(\x0e\x32G.event_store.client.persistent_subscriptions.CreateReq.ConsumerStrategyB\x02\x18\x01\x12\x1f\n\x15message_timeout_ticks\x18\x04 \x01(\x03H\x00\x12\x1c\n\x12message_timeout_ms\x18\x0e \x01(\x05H\x00\x12 \n\x16\x63heckpoint_after_ticks\x18\x06 \x01(\x03H\x01\x12\x1d\n\x13\x63heckpoint_after_ms\x18\x0f \x01(\x05H\x01\x12\x19\n\x11\x63onsumer_strategy\x18\x10 \x01(\tB\x11\n\x0fmessage_timeoutB\x12\n\x10\x63heckpoint_after"D\n\x10\x43onsumerStrategy\x12\x14\n\x10\x44ispatchToSingle\x10\x00\x12\x0e\n\nRoundRobin\x10\x01\x12\n\n\x06Pinned\x10\x02"\x0c\n\nCreateResp"\x94\x0c\n\tUpdateReq\x12O\n\x07options\x18\x01 \x01(\x0b\x32>.event_store.client.persistent_subscriptions.UpdateReq.Options\x1a\xf0\x02\n\x07Options\x12V\n\x06stream\x18\x04 \x01(\x0b\x32\x44.event_store.client.persistent_subscriptions.UpdateReq.StreamOptionsH\x00\x12P\n\x03\x61ll\x18\x05 \x01(\x0b\x32\x41.event_store.client.persistent_subscriptions.UpdateReq.AllOptionsH\x00\x12\x43\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifierB\x02\x18\x01\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12Q\n\x08settings\x18\x03 \x01(\x0b\x32?.event_store.client.persistent_subscriptions.UpdateReq.SettingsB\x0f\n\rstream_option\x1a\xcd\x01\n\rStreamOptions\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12*\n\x05start\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x11\n\x0frevision_option\x1a\xc5\x01\n\nAllOptions\x12S\n\x08position\x18\x01 \x01(\x0b\x32?.event_store.client.persistent_subscriptions.UpdateReq.PositionH\x00\x12*\n\x05start\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x0c\n\nall_option\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1a\xa5\x04\n\x08Settings\x12\x15\n\rresolve_links\x18\x01 \x01(\x08\x12\x14\n\x08revision\x18\x02 \x01(\x04\x42\x02\x18\x01\x12\x18\n\x10\x65xtra_statistics\x18\x03 \x01(\x08\x12\x17\n\x0fmax_retry_count\x18\x05 \x01(\x05\x12\x1c\n\x14min_checkpoint_count\x18\x07 \x01(\x05\x12\x1c\n\x14max_checkpoint_count\x18\x08 \x01(\x05\x12\x1c\n\x14max_subscriber_count\x18\t \x01(\x05\x12\x18\n\x10live_buffer_size\x18\n \x01(\x05\x12\x17\n\x0fread_batch_size\x18\x0b \x01(\x05\x12\x1b\n\x13history_buffer_size\x18\x0c \x01(\x05\x12h\n\x17named_consumer_strategy\x18\r \x01(\x0e\x32G.event_store.client.persistent_subscriptions.UpdateReq.ConsumerStrategy\x12\x1f\n\x15message_timeout_ticks\x18\x04 \x01(\x03H\x00\x12\x1c\n\x12message_timeout_ms\x18\x0e \x01(\x05H\x00\x12 \n\x16\x63heckpoint_after_ticks\x18\x06 \x01(\x03H\x01\x12\x1d\n\x13\x63heckpoint_after_ms\x18\x0f \x01(\x05H\x01\x42\x11\n\x0fmessage_timeoutB\x12\n\x10\x63heckpoint_after"D\n\x10\x43onsumerStrategy\x12\x14\n\x10\x44ispatchToSingle\x10\x00\x12\x0e\n\nRoundRobin\x10\x01\x12\n\n\x06Pinned\x10\x02"\x0c\n\nUpdateResp"\xfa\x01\n\tDeleteReq\x12O\n\x07options\x18\x01 \x01(\x0b\x32>.event_store.client.persistent_subscriptions.DeleteReq.Options\x1a\x9b\x01\n\x07Options\x12\x41\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x12\n\ngroup_name\x18\x02 \x01(\tB\x0f\n\rstream_option"\x0c\n\nDeleteResp"\xfc\x01\n\nGetInfoReq\x12P\n\x07options\x18\x01 \x01(\x0b\x32?.event_store.client.persistent_subscriptions.GetInfoReq.Options\x1a\x9b\x01\n\x07Options\x12\x41\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x12\n\ngroup_name\x18\x03 \x01(\tB\x0f\n\rstream_option"g\n\x0bGetInfoResp\x12X\n\x11subscription_info\x18\x01 \x01(\x0b\x32=.event_store.client.persistent_subscriptions.SubscriptionInfo"\xf0\t\n\x10SubscriptionInfo\x12\x14\n\x0c\x65vent_source\x18\x01 \x01(\t\x12\x12\n\ngroup_name\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x61\n\x0b\x63onnections\x18\x04 \x03(\x0b\x32L.event_store.client.persistent_subscriptions.SubscriptionInfo.ConnectionInfo\x12\x1a\n\x12\x61verage_per_second\x18\x05 \x01(\x05\x12\x13\n\x0btotal_items\x18\x06 \x01(\x03\x12$\n\x1c\x63ount_since_last_measurement\x18\x07 \x01(\x03\x12(\n last_checkpointed_event_position\x18\x08 \x01(\t\x12!\n\x19last_known_event_position\x18\t \x01(\t\x12\x18\n\x10resolve_link_tos\x18\n \x01(\x08\x12\x12\n\nstart_from\x18\x0b \x01(\t\x12$\n\x1cmessage_timeout_milliseconds\x18\x0c \x01(\x05\x12\x18\n\x10\x65xtra_statistics\x18\r \x01(\x08\x12\x17\n\x0fmax_retry_count\x18\x0e \x01(\x05\x12\x18\n\x10live_buffer_size\x18\x0f \x01(\x05\x12\x13\n\x0b\x62uffer_size\x18\x10 \x01(\x05\x12\x17\n\x0fread_batch_size\x18\x11 \x01(\x05\x12&\n\x1e\x63heck_point_after_milliseconds\x18\x12 \x01(\x05\x12\x1d\n\x15min_check_point_count\x18\x13 \x01(\x05\x12\x1d\n\x15max_check_point_count\x18\x14 \x01(\x05\x12\x19\n\x11read_buffer_count\x18\x15 \x01(\x05\x12\x19\n\x11live_buffer_count\x18\x16 \x01(\x03\x12\x1a\n\x12retry_buffer_count\x18\x17 \x01(\x05\x12 \n\x18total_in_flight_messages\x18\x18 \x01(\x05\x12"\n\x1aoutstanding_messages_count\x18\x19 \x01(\x05\x12\x1f\n\x17named_consumer_strategy\x18\x1a \x01(\t\x12\x1c\n\x14max_subscriber_count\x18\x1b \x01(\x05\x12\x1c\n\x14parked_message_count\x18\x1c \x01(\x03\x1a\xc5\x02\n\x0e\x43onnectionInfo\x12\x0c\n\x04\x66rom\x18\x01 \x01(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12 \n\x18\x61verage_items_per_second\x18\x03 \x01(\x05\x12\x13\n\x0btotal_items\x18\x04 \x01(\x03\x12$\n\x1c\x63ount_since_last_measurement\x18\x05 \x01(\x03\x12h\n\x15observed_measurements\x18\x06 \x03(\x0b\x32I.event_store.client.persistent_subscriptions.SubscriptionInfo.Measurement\x12\x17\n\x0f\x61vailable_slots\x18\x07 \x01(\x05\x12\x1a\n\x12in_flight_messages\x18\x08 \x01(\x05\x12\x17\n\x0f\x63onnection_name\x18\t \x01(\t\x1a)\n\x0bMeasurement\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03"\xda\x02\n\x0fReplayParkedReq\x12U\n\x07options\x18\x01 \x01(\x0b\x32\x44.event_store.client.persistent_subscriptions.ReplayParkedReq.Options\x1a\xef\x01\n\x07Options\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x41\n\x11stream_identifier\x18\x02 \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x11\n\x07stop_at\x18\x04 \x01(\x03H\x01\x12-\n\x08no_limit\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x42\x0f\n\rstream_optionB\x10\n\x0estop_at_option"\x12\n\x10ReplayParkedResp"\x92\x03\n\x07ListReq\x12M\n\x07options\x18\x01 \x01(\x0b\x32<.event_store.client.persistent_subscriptions.ListReq.Options\x1a\xb3\x01\n\x07Options\x12;\n\x16list_all_subscriptions\x18\x01 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\\\n\x0flist_for_stream\x18\x02 \x01(\x0b\x32\x41.event_store.client.persistent_subscriptions.ListReq.StreamOptionH\x00\x42\r\n\x0blist_option\x1a\x81\x01\n\x0cStreamOption\x12\x36\n\x06stream\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifierH\x00\x12(\n\x03\x61ll\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x0f\n\rstream_option"`\n\x08ListResp\x12T\n\rsubscriptions\x18\x01 \x03(\x0b\x32=.event_store.client.persistent_subscriptions.SubscriptionInfo2\xce\x07\n\x17PersistentSubscriptions\x12y\n\x06\x43reate\x12\x36.event_store.client.persistent_subscriptions.CreateReq\x1a\x37.event_store.client.persistent_subscriptions.CreateResp\x12y\n\x06Update\x12\x36.event_store.client.persistent_subscriptions.UpdateReq\x1a\x37.event_store.client.persistent_subscriptions.UpdateResp\x12y\n\x06\x44\x65lete\x12\x36.event_store.client.persistent_subscriptions.DeleteReq\x1a\x37.event_store.client.persistent_subscriptions.DeleteResp\x12w\n\x04Read\x12\x34.event_store.client.persistent_subscriptions.ReadReq\x1a\x35.event_store.client.persistent_subscriptions.ReadResp(\x01\x30\x01\x12|\n\x07GetInfo\x12\x37.event_store.client.persistent_subscriptions.GetInfoReq\x1a\x38.event_store.client.persistent_subscriptions.GetInfoResp\x12\x8b\x01\n\x0cReplayParked\x12<.event_store.client.persistent_subscriptions.ReplayParkedReq\x1a=.event_store.client.persistent_subscriptions.ReplayParkedResp\x12s\n\x04List\x12\x34.event_store.client.persistent_subscriptions.ListReq\x1a\x35.event_store.client.persistent_subscriptions.ListResp\x12H\n\x10RestartSubsystem\x12\x19.event_store.client.Empty\x1a\x19.event_store.client.EmptyB7\n5com.eventstore.dbclient.proto.persistentsubscriptionsb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.persistent_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.persistent_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = ( b"\n5com.eventstore.dbclient.proto.persistentsubscriptions" ) - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._options = None - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._serialized_options = ( - b"8\001" + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._options = None + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._serialized_options = b"8\001" + _CREATEREQ_OPTIONS.fields_by_name["stream_identifier"]._options = None + _CREATEREQ_OPTIONS.fields_by_name["stream_identifier"]._serialized_options = ( + b"\030\001" ) - _globals["_CREATEREQ_OPTIONS"].fields_by_name["stream_identifier"]._options = None - _globals["_CREATEREQ_OPTIONS"].fields_by_name[ - "stream_identifier" - ]._serialized_options = b"\030\001" - _globals["_CREATEREQ_SETTINGS"].fields_by_name["revision"]._options = None - _globals["_CREATEREQ_SETTINGS"].fields_by_name[ - "revision" - ]._serialized_options = b"\030\001" - _globals["_CREATEREQ_SETTINGS"].fields_by_name[ - "named_consumer_strategy" - ]._options = None - _globals["_CREATEREQ_SETTINGS"].fields_by_name[ + _CREATEREQ_SETTINGS.fields_by_name["revision"]._options = None + _CREATEREQ_SETTINGS.fields_by_name["revision"]._serialized_options = b"\030\001" + _CREATEREQ_SETTINGS.fields_by_name["named_consumer_strategy"]._options = None + _CREATEREQ_SETTINGS.fields_by_name[ "named_consumer_strategy" ]._serialized_options = b"\030\001" - _globals["_UPDATEREQ_OPTIONS"].fields_by_name["stream_identifier"]._options = None - _globals["_UPDATEREQ_OPTIONS"].fields_by_name[ - "stream_identifier" - ]._serialized_options = b"\030\001" - _globals["_UPDATEREQ_SETTINGS"].fields_by_name["revision"]._options = None - _globals["_UPDATEREQ_SETTINGS"].fields_by_name[ - "revision" - ]._serialized_options = b"\030\001" - _globals["_READREQ"]._serialized_start = 126 - _globals["_READREQ"]._serialized_end = 1047 - _globals["_READREQ_OPTIONS"]._serialized_start = 367 - _globals["_READREQ_OPTIONS"]._serialized_end = 756 - _globals["_READREQ_OPTIONS_UUIDOPTION"]._serialized_start = 622 - _globals["_READREQ_OPTIONS_UUIDOPTION"]._serialized_end = 739 - _globals["_READREQ_ACK"]._serialized_start = 758 - _globals["_READREQ_ACK"]._serialized_end = 814 - _globals["_READREQ_NACK"]._serialized_start = 817 - _globals["_READREQ_NACK"]._serialized_end = 1036 - _globals["_READREQ_NACK_ACTION"]._serialized_start = 974 - _globals["_READREQ_NACK_ACTION"]._serialized_end = 1036 - _globals["_READRESP"]._serialized_start = 1050 - _globals["_READRESP"]._serialized_end = 2094 - _globals["_READRESP_READEVENT"]._serialized_start = 1262 - _globals["_READRESP_READEVENT"]._serialized_end = 2030 - _globals["_READRESP_READEVENT_RECORDEDEVENT"]._serialized_start = 1616 - _globals["_READRESP_READEVENT_RECORDEDEVENT"]._serialized_end = 2009 - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._serialized_start = 1962 - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._serialized_end = 2009 - _globals["_READRESP_SUBSCRIPTIONCONFIRMATION"]._serialized_start = 2032 - _globals["_READRESP_SUBSCRIPTIONCONFIRMATION"]._serialized_end = 2083 - _globals["_CREATEREQ"]._serialized_start = 2097 - _globals["_CREATEREQ"]._serialized_end = 4263 - _globals["_CREATEREQ_OPTIONS"]._serialized_start = 2192 - _globals["_CREATEREQ_OPTIONS"]._serialized_end = 2560 - _globals["_CREATEREQ_STREAMOPTIONS"]._serialized_start = 2563 - _globals["_CREATEREQ_STREAMOPTIONS"]._serialized_end = 2768 - _globals["_CREATEREQ_ALLOPTIONS"]._serialized_start = 2771 - _globals["_CREATEREQ_ALLOPTIONS"]._serialized_end = 3547 - _globals["_CREATEREQ_ALLOPTIONS_FILTEROPTIONS"]._serialized_start = 3104 - _globals["_CREATEREQ_ALLOPTIONS_FILTEROPTIONS"]._serialized_end = 3516 - _globals["_CREATEREQ_ALLOPTIONS_FILTEROPTIONS_EXPRESSION"]._serialized_start = 3453 - _globals["_CREATEREQ_ALLOPTIONS_FILTEROPTIONS_EXPRESSION"]._serialized_end = 3496 - _globals["_CREATEREQ_POSITION"]._serialized_start = 3549 - _globals["_CREATEREQ_POSITION"]._serialized_end = 3610 - _globals["_CREATEREQ_SETTINGS"]._serialized_start = 3613 - _globals["_CREATEREQ_SETTINGS"]._serialized_end = 4193 - _globals["_CREATEREQ_CONSUMERSTRATEGY"]._serialized_start = 4195 - _globals["_CREATEREQ_CONSUMERSTRATEGY"]._serialized_end = 4263 - _globals["_CREATERESP"]._serialized_start = 4265 - _globals["_CREATERESP"]._serialized_end = 4277 - _globals["_UPDATEREQ"]._serialized_start = 4280 - _globals["_UPDATEREQ"]._serialized_end = 5836 - _globals["_UPDATEREQ_OPTIONS"]._serialized_start = 4375 - _globals["_UPDATEREQ_OPTIONS"]._serialized_end = 4743 - _globals["_UPDATEREQ_STREAMOPTIONS"]._serialized_start = 2563 - _globals["_UPDATEREQ_STREAMOPTIONS"]._serialized_end = 2768 - _globals["_UPDATEREQ_ALLOPTIONS"]._serialized_start = 4954 - _globals["_UPDATEREQ_ALLOPTIONS"]._serialized_end = 5151 - _globals["_UPDATEREQ_POSITION"]._serialized_start = 3549 - _globals["_UPDATEREQ_POSITION"]._serialized_end = 3610 - _globals["_UPDATEREQ_SETTINGS"]._serialized_start = 5217 - _globals["_UPDATEREQ_SETTINGS"]._serialized_end = 5766 - _globals["_UPDATEREQ_CONSUMERSTRATEGY"]._serialized_start = 4195 - _globals["_UPDATEREQ_CONSUMERSTRATEGY"]._serialized_end = 4263 - _globals["_UPDATERESP"]._serialized_start = 5838 - _globals["_UPDATERESP"]._serialized_end = 5850 - _globals["_DELETEREQ"]._serialized_start = 5853 - _globals["_DELETEREQ"]._serialized_end = 6103 - _globals["_DELETEREQ_OPTIONS"]._serialized_start = 5948 - _globals["_DELETEREQ_OPTIONS"]._serialized_end = 6103 - _globals["_DELETERESP"]._serialized_start = 6105 - _globals["_DELETERESP"]._serialized_end = 6117 - _globals["_GETINFOREQ"]._serialized_start = 6120 - _globals["_GETINFOREQ"]._serialized_end = 6372 - _globals["_GETINFOREQ_OPTIONS"]._serialized_start = 6217 - _globals["_GETINFOREQ_OPTIONS"]._serialized_end = 6372 - _globals["_GETINFORESP"]._serialized_start = 6374 - _globals["_GETINFORESP"]._serialized_end = 6477 - _globals["_SUBSCRIPTIONINFO"]._serialized_start = 6480 - _globals["_SUBSCRIPTIONINFO"]._serialized_end = 7744 - _globals["_SUBSCRIPTIONINFO_CONNECTIONINFO"]._serialized_start = 7376 - _globals["_SUBSCRIPTIONINFO_CONNECTIONINFO"]._serialized_end = 7701 - _globals["_SUBSCRIPTIONINFO_MEASUREMENT"]._serialized_start = 7703 - _globals["_SUBSCRIPTIONINFO_MEASUREMENT"]._serialized_end = 7744 - _globals["_REPLAYPARKEDREQ"]._serialized_start = 7747 - _globals["_REPLAYPARKEDREQ"]._serialized_end = 8093 - _globals["_REPLAYPARKEDREQ_OPTIONS"]._serialized_start = 7854 - _globals["_REPLAYPARKEDREQ_OPTIONS"]._serialized_end = 8093 - _globals["_REPLAYPARKEDRESP"]._serialized_start = 8095 - _globals["_REPLAYPARKEDRESP"]._serialized_end = 8113 - _globals["_LISTREQ"]._serialized_start = 8116 - _globals["_LISTREQ"]._serialized_end = 8518 - _globals["_LISTREQ_OPTIONS"]._serialized_start = 8207 - _globals["_LISTREQ_OPTIONS"]._serialized_end = 8386 - _globals["_LISTREQ_STREAMOPTION"]._serialized_start = 8389 - _globals["_LISTREQ_STREAMOPTION"]._serialized_end = 8518 - _globals["_LISTRESP"]._serialized_start = 8520 - _globals["_LISTRESP"]._serialized_end = 8616 - _globals["_PERSISTENTSUBSCRIPTIONS"]._serialized_start = 8619 - _globals["_PERSISTENTSUBSCRIPTIONS"]._serialized_end = 9593 + _UPDATEREQ_OPTIONS.fields_by_name["stream_identifier"]._options = None + _UPDATEREQ_OPTIONS.fields_by_name["stream_identifier"]._serialized_options = ( + b"\030\001" + ) + _UPDATEREQ_SETTINGS.fields_by_name["revision"]._options = None + _UPDATEREQ_SETTINGS.fields_by_name["revision"]._serialized_options = b"\030\001" + _READREQ._serialized_start = 126 + _READREQ._serialized_end = 1047 + _READREQ_OPTIONS._serialized_start = 367 + _READREQ_OPTIONS._serialized_end = 756 + _READREQ_OPTIONS_UUIDOPTION._serialized_start = 622 + _READREQ_OPTIONS_UUIDOPTION._serialized_end = 739 + _READREQ_ACK._serialized_start = 758 + _READREQ_ACK._serialized_end = 814 + _READREQ_NACK._serialized_start = 817 + _READREQ_NACK._serialized_end = 1036 + _READREQ_NACK_ACTION._serialized_start = 974 + _READREQ_NACK_ACTION._serialized_end = 1036 + _READRESP._serialized_start = 1050 + _READRESP._serialized_end = 2094 + _READRESP_READEVENT._serialized_start = 1262 + _READRESP_READEVENT._serialized_end = 2030 + _READRESP_READEVENT_RECORDEDEVENT._serialized_start = 1616 + _READRESP_READEVENT_RECORDEDEVENT._serialized_end = 2009 + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._serialized_start = 1962 + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._serialized_end = 2009 + _READRESP_SUBSCRIPTIONCONFIRMATION._serialized_start = 2032 + _READRESP_SUBSCRIPTIONCONFIRMATION._serialized_end = 2083 + _CREATEREQ._serialized_start = 2097 + _CREATEREQ._serialized_end = 4263 + _CREATEREQ_OPTIONS._serialized_start = 2192 + _CREATEREQ_OPTIONS._serialized_end = 2560 + _CREATEREQ_STREAMOPTIONS._serialized_start = 2563 + _CREATEREQ_STREAMOPTIONS._serialized_end = 2768 + _CREATEREQ_ALLOPTIONS._serialized_start = 2771 + _CREATEREQ_ALLOPTIONS._serialized_end = 3547 + _CREATEREQ_ALLOPTIONS_FILTEROPTIONS._serialized_start = 3104 + _CREATEREQ_ALLOPTIONS_FILTEROPTIONS._serialized_end = 3516 + _CREATEREQ_ALLOPTIONS_FILTEROPTIONS_EXPRESSION._serialized_start = 3453 + _CREATEREQ_ALLOPTIONS_FILTEROPTIONS_EXPRESSION._serialized_end = 3496 + _CREATEREQ_POSITION._serialized_start = 3549 + _CREATEREQ_POSITION._serialized_end = 3610 + _CREATEREQ_SETTINGS._serialized_start = 3613 + _CREATEREQ_SETTINGS._serialized_end = 4193 + _CREATEREQ_CONSUMERSTRATEGY._serialized_start = 4195 + _CREATEREQ_CONSUMERSTRATEGY._serialized_end = 4263 + _CREATERESP._serialized_start = 4265 + _CREATERESP._serialized_end = 4277 + _UPDATEREQ._serialized_start = 4280 + _UPDATEREQ._serialized_end = 5836 + _UPDATEREQ_OPTIONS._serialized_start = 4375 + _UPDATEREQ_OPTIONS._serialized_end = 4743 + _UPDATEREQ_STREAMOPTIONS._serialized_start = 2563 + _UPDATEREQ_STREAMOPTIONS._serialized_end = 2768 + _UPDATEREQ_ALLOPTIONS._serialized_start = 4954 + _UPDATEREQ_ALLOPTIONS._serialized_end = 5151 + _UPDATEREQ_POSITION._serialized_start = 3549 + _UPDATEREQ_POSITION._serialized_end = 3610 + _UPDATEREQ_SETTINGS._serialized_start = 5217 + _UPDATEREQ_SETTINGS._serialized_end = 5766 + _UPDATEREQ_CONSUMERSTRATEGY._serialized_start = 4195 + _UPDATEREQ_CONSUMERSTRATEGY._serialized_end = 4263 + _UPDATERESP._serialized_start = 5838 + _UPDATERESP._serialized_end = 5850 + _DELETEREQ._serialized_start = 5853 + _DELETEREQ._serialized_end = 6103 + _DELETEREQ_OPTIONS._serialized_start = 5948 + _DELETEREQ_OPTIONS._serialized_end = 6103 + _DELETERESP._serialized_start = 6105 + _DELETERESP._serialized_end = 6117 + _GETINFOREQ._serialized_start = 6120 + _GETINFOREQ._serialized_end = 6372 + _GETINFOREQ_OPTIONS._serialized_start = 6217 + _GETINFOREQ_OPTIONS._serialized_end = 6372 + _GETINFORESP._serialized_start = 6374 + _GETINFORESP._serialized_end = 6477 + _SUBSCRIPTIONINFO._serialized_start = 6480 + _SUBSCRIPTIONINFO._serialized_end = 7744 + _SUBSCRIPTIONINFO_CONNECTIONINFO._serialized_start = 7376 + _SUBSCRIPTIONINFO_CONNECTIONINFO._serialized_end = 7701 + _SUBSCRIPTIONINFO_MEASUREMENT._serialized_start = 7703 + _SUBSCRIPTIONINFO_MEASUREMENT._serialized_end = 7744 + _REPLAYPARKEDREQ._serialized_start = 7747 + _REPLAYPARKEDREQ._serialized_end = 8093 + _REPLAYPARKEDREQ_OPTIONS._serialized_start = 7854 + _REPLAYPARKEDREQ_OPTIONS._serialized_end = 8093 + _REPLAYPARKEDRESP._serialized_start = 8095 + _REPLAYPARKEDRESP._serialized_end = 8113 + _LISTREQ._serialized_start = 8116 + _LISTREQ._serialized_end = 8518 + _LISTREQ_OPTIONS._serialized_start = 8207 + _LISTREQ_OPTIONS._serialized_end = 8386 + _LISTREQ_STREAMOPTION._serialized_start = 8389 + _LISTREQ_STREAMOPTION._serialized_end = 8518 + _LISTRESP._serialized_start = 8520 + _LISTRESP._serialized_end = 8616 + _PERSISTENTSUBSCRIPTIONS._serialized_start = 8619 + _PERSISTENTSUBSCRIPTIONS._serialized_end = 9593 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/persistent_pb2.pyi b/esdbclient/protos/Grpc/persistent_pb2.pyi index 03dc640..6ca21e0 100644 --- a/esdbclient/protos/Grpc/persistent_pb2.pyi +++ b/esdbclient/protos/Grpc/persistent_pb2.pyi @@ -2,6 +2,7 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc import esdbclient.protos.Grpc.shared_pb2 @@ -19,15 +20,15 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing_extensions.final +@typing.final class ReadReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class UUIDOption(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -45,7 +46,7 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "string", @@ -56,7 +57,7 @@ class ReadReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "string", @@ -66,29 +67,30 @@ class ReadReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["content", b"content"] - ) -> typing_extensions.Literal["structured", "string"] | None: ... + self, oneof_group: typing.Literal["content", b"content"] + ) -> typing.Literal["structured", "string"] | None: ... STREAM_IDENTIFIER_FIELD_NUMBER: builtins.int ALL_FIELD_NUMBER: builtins.int GROUP_NAME_FIELD_NUMBER: builtins.int BUFFER_SIZE_FIELD_NUMBER: builtins.int UUID_OPTION_FIELD_NUMBER: builtins.int + group_name: builtins.str + buffer_size: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... @property def all(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - group_name: builtins.str - buffer_size: builtins.int @property def uuid_option(self) -> global___ReadReq.Options.UUIDOption: ... def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., all: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., group_name: builtins.str = ..., buffer_size: builtins.int = ..., @@ -96,7 +98,7 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "stream_identifier", @@ -109,7 +111,7 @@ class ReadReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "buffer_size", @@ -125,11 +127,10 @@ class ReadReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream_identifier", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream_identifier", "all"] | None: ... - @typing_extensions.final + @typing.final class Ack(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -146,14 +147,15 @@ class ReadReq(google.protobuf.message.Message): self, *, id: builtins.bytes = ..., - ids: collections.abc.Iterable[esdbclient.protos.Grpc.shared_pb2.UUID] - | None = ..., + ids: ( + collections.abc.Iterable[esdbclient.protos.Grpc.shared_pb2.UUID] | None + ) = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["id", b"id", "ids", b"ids"] + self, field_name: typing.Literal["id", b"id", "ids", b"ids"] ) -> None: ... - @typing_extensions.final + @typing.final class Nack(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -166,7 +168,7 @@ class ReadReq(google.protobuf.message.Message): ReadReq.Nack._Action.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor Unknown: ReadReq.Nack._Action.ValueType # 0 Park: ReadReq.Nack._Action.ValueType # 1 @@ -186,26 +188,27 @@ class ReadReq(google.protobuf.message.Message): ACTION_FIELD_NUMBER: builtins.int REASON_FIELD_NUMBER: builtins.int id: builtins.bytes + action: global___ReadReq.Nack.Action.ValueType + reason: builtins.str @property def ids( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ esdbclient.protos.Grpc.shared_pb2.UUID ]: ... - action: global___ReadReq.Nack.Action.ValueType - reason: builtins.str def __init__( self, *, id: builtins.bytes = ..., - ids: collections.abc.Iterable[esdbclient.protos.Grpc.shared_pb2.UUID] - | None = ..., + ids: ( + collections.abc.Iterable[esdbclient.protos.Grpc.shared_pb2.UUID] | None + ) = ..., action: global___ReadReq.Nack.Action.ValueType = ..., reason: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "action", b"action", "id", b"id", "ids", b"ids", "reason", b"reason" ], ) -> None: ... @@ -228,35 +231,35 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "ack", b"ack", "content", b"content", "nack", b"nack", "options", b"options" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "ack", b"ack", "content", b"content", "nack", b"nack", "options", b"options" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["content", b"content"] - ) -> typing_extensions.Literal["options", "ack", "nack"] | None: ... + self, oneof_group: typing.Literal["content", b"content"] + ) -> typing.Literal["options", "ack", "nack"] | None: ... global___ReadReq = ReadReq -@typing_extensions.final +@typing.final class ReadResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class ReadEvent(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class RecordedEvent(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -271,10 +274,7 @@ class ReadResp(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "key", b"key", "value", b"value" - ], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ID_FIELD_NUMBER: builtins.int @@ -285,46 +285,48 @@ class ReadResp(google.protobuf.message.Message): METADATA_FIELD_NUMBER: builtins.int CUSTOM_METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int + stream_revision: builtins.int + prepare_position: builtins.int + commit_position: builtins.int + custom_metadata: builtins.bytes + data: builtins.bytes @property def id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - stream_revision: builtins.int - prepare_position: builtins.int - commit_position: builtins.int @property def metadata( self, ) -> google.protobuf.internal.containers.ScalarMap[ builtins.str, builtins.str ]: ... - custom_metadata: builtins.bytes - data: builtins.bytes def __init__( self, *, id: esdbclient.protos.Grpc.shared_pb2.UUID | None = ..., - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., stream_revision: builtins.int = ..., prepare_position: builtins.int = ..., commit_position: builtins.int = ..., - metadata: collections.abc.Mapping[builtins.str, builtins.str] - | None = ..., + metadata: ( + collections.abc.Mapping[builtins.str, builtins.str] | None + ) = ..., custom_metadata: builtins.bytes = ..., data: builtins.bytes = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "id", b"id", "stream_identifier", b"stream_identifier" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "custom_metadata", @@ -350,14 +352,14 @@ class ReadResp(google.protobuf.message.Message): NO_POSITION_FIELD_NUMBER: builtins.int RETRY_COUNT_FIELD_NUMBER: builtins.int NO_RETRY_COUNT_FIELD_NUMBER: builtins.int + commit_position: builtins.int + retry_count: builtins.int @property def event(self) -> global___ReadResp.ReadEvent.RecordedEvent: ... @property def link(self) -> global___ReadResp.ReadEvent.RecordedEvent: ... - commit_position: builtins.int @property def no_position(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - retry_count: builtins.int @property def no_retry_count(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... def __init__( @@ -372,7 +374,7 @@ class ReadResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "count", @@ -393,7 +395,7 @@ class ReadResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "count", @@ -414,14 +416,14 @@ class ReadResp(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["count", b"count"] - ) -> typing_extensions.Literal["retry_count", "no_retry_count"] | None: ... + self, oneof_group: typing.Literal["count", b"count"] + ) -> typing.Literal["retry_count", "no_retry_count"] | None: ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["position", b"position"] - ) -> typing_extensions.Literal["commit_position", "no_position"] | None: ... + self, oneof_group: typing.Literal["position", b"position"] + ) -> typing.Literal["commit_position", "no_position"] | None: ... - @typing_extensions.final + @typing.final class SubscriptionConfirmation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -433,10 +435,7 @@ class ReadResp(google.protobuf.message.Message): subscription_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "subscription_id", b"subscription_id" - ], + self, field_name: typing.Literal["subscription_id", b"subscription_id"] ) -> None: ... EVENT_FIELD_NUMBER: builtins.int @@ -451,12 +450,13 @@ class ReadResp(google.protobuf.message.Message): self, *, event: global___ReadResp.ReadEvent | None = ..., - subscription_confirmation: global___ReadResp.SubscriptionConfirmation - | None = ..., + subscription_confirmation: ( + global___ReadResp.SubscriptionConfirmation | None + ) = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "event", @@ -467,7 +467,7 @@ class ReadResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "event", @@ -477,12 +477,12 @@ class ReadResp(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["content", b"content"] - ) -> typing_extensions.Literal["event", "subscription_confirmation"] | None: ... + self, oneof_group: typing.Literal["content", b"content"] + ) -> typing.Literal["event", "subscription_confirmation"] | None: ... global___ReadResp = ReadResp -@typing_extensions.final +@typing.final class CreateReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -495,7 +495,7 @@ class CreateReq(google.protobuf.message.Message): CreateReq._ConsumerStrategy.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DispatchToSingle: CreateReq._ConsumerStrategy.ValueType # 0 RoundRobin: CreateReq._ConsumerStrategy.ValueType # 1 @@ -508,7 +508,7 @@ class CreateReq(google.protobuf.message.Message): RoundRobin: CreateReq.ConsumerStrategy.ValueType # 1 Pinned: CreateReq.ConsumerStrategy.ValueType # 2 - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -517,6 +517,7 @@ class CreateReq(google.protobuf.message.Message): STREAM_IDENTIFIER_FIELD_NUMBER: builtins.int GROUP_NAME_FIELD_NUMBER: builtins.int SETTINGS_FIELD_NUMBER: builtins.int + group_name: builtins.str @property def stream(self) -> global___CreateReq.StreamOptions: ... @property @@ -525,7 +526,6 @@ class CreateReq(google.protobuf.message.Message): def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - group_name: builtins.str @property def settings(self) -> global___CreateReq.Settings: ... def __init__( @@ -533,14 +533,15 @@ class CreateReq(google.protobuf.message.Message): *, stream: global___CreateReq.StreamOptions | None = ..., all: global___CreateReq.AllOptions | None = ..., - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., group_name: builtins.str = ..., settings: global___CreateReq.Settings | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "settings", @@ -555,7 +556,7 @@ class CreateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "group_name", @@ -571,11 +572,10 @@ class CreateReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream", "all"] | None: ... - @typing_extensions.final + @typing.final class StreamOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -583,11 +583,11 @@ class CreateReq(google.protobuf.message.Message): REVISION_FIELD_NUMBER: builtins.int START_FIELD_NUMBER: builtins.int END_FIELD_NUMBER: builtins.int + revision: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - revision: builtins.int @property def start(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property @@ -595,15 +595,16 @@ class CreateReq(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., revision: builtins.int = ..., start: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., end: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end", b"end", "revision", @@ -618,7 +619,7 @@ class CreateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end", b"end", "revision", @@ -632,21 +633,18 @@ class CreateReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "revision_option", b"revision_option" - ], - ) -> typing_extensions.Literal["revision", "start", "end"] | None: ... + self, oneof_group: typing.Literal["revision_option", b"revision_option"] + ) -> typing.Literal["revision", "start", "end"] | None: ... - @typing_extensions.final + @typing.final class AllOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class FilterOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Expression(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -667,9 +665,7 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "prefix", b"prefix", "regex", b"regex" - ], + field_name: typing.Literal["prefix", b"prefix", "regex", b"regex"], ) -> None: ... STREAM_IDENTIFIER_FIELD_NUMBER: builtins.int @@ -677,6 +673,8 @@ class CreateReq(google.protobuf.message.Message): MAX_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int CHECKPOINTINTERVALMULTIPLIER_FIELD_NUMBER: builtins.int + max: builtins.int + checkpointIntervalMultiplier: builtins.int @property def stream_identifier( self, @@ -685,24 +683,24 @@ class CreateReq(google.protobuf.message.Message): def event_type( self, ) -> global___CreateReq.AllOptions.FilterOptions.Expression: ... - max: builtins.int @property def count(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - checkpointIntervalMultiplier: builtins.int def __init__( self, *, - stream_identifier: global___CreateReq.AllOptions.FilterOptions.Expression - | None = ..., - event_type: global___CreateReq.AllOptions.FilterOptions.Expression - | None = ..., + stream_identifier: ( + global___CreateReq.AllOptions.FilterOptions.Expression | None + ) = ..., + event_type: ( + global___CreateReq.AllOptions.FilterOptions.Expression | None + ) = ..., max: builtins.int = ..., count: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., checkpointIntervalMultiplier: builtins.int = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "count", b"count", "event_type", @@ -719,7 +717,7 @@ class CreateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "checkpointIntervalMultiplier", b"checkpointIntervalMultiplier", "count", @@ -738,14 +736,12 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["filter", b"filter"] - ) -> ( - typing_extensions.Literal["stream_identifier", "event_type"] | None - ): ... + self, oneof_group: typing.Literal["filter", b"filter"] + ) -> typing.Literal["stream_identifier", "event_type"] | None: ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["window", b"window"] - ) -> typing_extensions.Literal["max", "count"] | None: ... + self, oneof_group: typing.Literal["window", b"window"] + ) -> typing.Literal["max", "count"] | None: ... POSITION_FIELD_NUMBER: builtins.int START_FIELD_NUMBER: builtins.int @@ -773,7 +769,7 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all_option", b"all_option", "end", @@ -792,7 +788,7 @@ class CreateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all_option", b"all_option", "end", @@ -811,15 +807,14 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["all_option", b"all_option"] - ) -> typing_extensions.Literal["position", "start", "end"] | None: ... + self, oneof_group: typing.Literal["all_option", b"all_option"] + ) -> typing.Literal["position", "start", "end"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal["filter_option", b"filter_option"], - ) -> typing_extensions.Literal["filter", "no_filter"] | None: ... + self, oneof_group: typing.Literal["filter_option", b"filter_option"] + ) -> typing.Literal["filter", "no_filter"] | None: ... - @typing_extensions.final + @typing.final class Position(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -835,7 +830,7 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -843,7 +838,7 @@ class CreateReq(google.protobuf.message.Message): ], ) -> None: ... - @typing_extensions.final + @typing.final class Settings(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -901,7 +896,7 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "checkpoint_after", b"checkpoint_after", "checkpoint_after_ms", @@ -918,7 +913,7 @@ class CreateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "checkpoint_after", b"checkpoint_after", "checkpoint_after_ms", @@ -959,24 +954,12 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "checkpoint_after", b"checkpoint_after" - ], - ) -> ( - typing_extensions.Literal["checkpoint_after_ticks", "checkpoint_after_ms"] - | None - ): ... + self, oneof_group: typing.Literal["checkpoint_after", b"checkpoint_after"] + ) -> typing.Literal["checkpoint_after_ticks", "checkpoint_after_ms"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "message_timeout", b"message_timeout" - ], - ) -> ( - typing_extensions.Literal["message_timeout_ticks", "message_timeout_ms"] - | None - ): ... + self, oneof_group: typing.Literal["message_timeout", b"message_timeout"] + ) -> typing.Literal["message_timeout_ticks", "message_timeout_ms"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -987,15 +970,13 @@ class CreateReq(google.protobuf.message.Message): options: global___CreateReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___CreateReq = CreateReq -@typing_extensions.final +@typing.final class CreateResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1005,7 +986,7 @@ class CreateResp(google.protobuf.message.Message): global___CreateResp = CreateResp -@typing_extensions.final +@typing.final class UpdateReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1018,7 +999,7 @@ class UpdateReq(google.protobuf.message.Message): UpdateReq._ConsumerStrategy.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor DispatchToSingle: UpdateReq._ConsumerStrategy.ValueType # 0 RoundRobin: UpdateReq._ConsumerStrategy.ValueType # 1 @@ -1031,7 +1012,7 @@ class UpdateReq(google.protobuf.message.Message): RoundRobin: UpdateReq.ConsumerStrategy.ValueType # 1 Pinned: UpdateReq.ConsumerStrategy.ValueType # 2 - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1040,6 +1021,7 @@ class UpdateReq(google.protobuf.message.Message): STREAM_IDENTIFIER_FIELD_NUMBER: builtins.int GROUP_NAME_FIELD_NUMBER: builtins.int SETTINGS_FIELD_NUMBER: builtins.int + group_name: builtins.str @property def stream(self) -> global___UpdateReq.StreamOptions: ... @property @@ -1048,7 +1030,6 @@ class UpdateReq(google.protobuf.message.Message): def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - group_name: builtins.str @property def settings(self) -> global___UpdateReq.Settings: ... def __init__( @@ -1056,14 +1037,15 @@ class UpdateReq(google.protobuf.message.Message): *, stream: global___UpdateReq.StreamOptions | None = ..., all: global___UpdateReq.AllOptions | None = ..., - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., group_name: builtins.str = ..., settings: global___UpdateReq.Settings | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "settings", @@ -1078,7 +1060,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "group_name", @@ -1094,11 +1076,10 @@ class UpdateReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream", "all"] | None: ... - @typing_extensions.final + @typing.final class StreamOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1106,11 +1087,11 @@ class UpdateReq(google.protobuf.message.Message): REVISION_FIELD_NUMBER: builtins.int START_FIELD_NUMBER: builtins.int END_FIELD_NUMBER: builtins.int + revision: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - revision: builtins.int @property def start(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property @@ -1118,15 +1099,16 @@ class UpdateReq(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., revision: builtins.int = ..., start: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., end: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end", b"end", "revision", @@ -1141,7 +1123,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end", b"end", "revision", @@ -1155,13 +1137,10 @@ class UpdateReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "revision_option", b"revision_option" - ], - ) -> typing_extensions.Literal["revision", "start", "end"] | None: ... + self, oneof_group: typing.Literal["revision_option", b"revision_option"] + ) -> typing.Literal["revision", "start", "end"] | None: ... - @typing_extensions.final + @typing.final class AllOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1183,7 +1162,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all_option", b"all_option", "end", @@ -1196,7 +1175,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all_option", b"all_option", "end", @@ -1208,10 +1187,10 @@ class UpdateReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["all_option", b"all_option"] - ) -> typing_extensions.Literal["position", "start", "end"] | None: ... + self, oneof_group: typing.Literal["all_option", b"all_option"] + ) -> typing.Literal["position", "start", "end"] | None: ... - @typing_extensions.final + @typing.final class Position(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1227,7 +1206,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -1235,7 +1214,7 @@ class UpdateReq(google.protobuf.message.Message): ], ) -> None: ... - @typing_extensions.final + @typing.final class Settings(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1290,7 +1269,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "checkpoint_after", b"checkpoint_after", "checkpoint_after_ms", @@ -1307,7 +1286,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "checkpoint_after", b"checkpoint_after", "checkpoint_after_ms", @@ -1346,24 +1325,12 @@ class UpdateReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "checkpoint_after", b"checkpoint_after" - ], - ) -> ( - typing_extensions.Literal["checkpoint_after_ticks", "checkpoint_after_ms"] - | None - ): ... + self, oneof_group: typing.Literal["checkpoint_after", b"checkpoint_after"] + ) -> typing.Literal["checkpoint_after_ticks", "checkpoint_after_ms"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "message_timeout", b"message_timeout" - ], - ) -> ( - typing_extensions.Literal["message_timeout_ticks", "message_timeout_ms"] - | None - ): ... + self, oneof_group: typing.Literal["message_timeout", b"message_timeout"] + ) -> typing.Literal["message_timeout_ticks", "message_timeout_ms"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -1374,15 +1341,13 @@ class UpdateReq(google.protobuf.message.Message): options: global___UpdateReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___UpdateReq = UpdateReq -@typing_extensions.final +@typing.final class UpdateResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1392,35 +1357,36 @@ class UpdateResp(google.protobuf.message.Message): global___UpdateResp = UpdateResp -@typing_extensions.final +@typing.final class DeleteReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor STREAM_IDENTIFIER_FIELD_NUMBER: builtins.int ALL_FIELD_NUMBER: builtins.int GROUP_NAME_FIELD_NUMBER: builtins.int + group_name: builtins.str @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... @property def all(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - group_name: builtins.str def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., all: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., group_name: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "stream_identifier", @@ -1431,7 +1397,7 @@ class DeleteReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "group_name", @@ -1443,9 +1409,8 @@ class DeleteReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream_identifier", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream_identifier", "all"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -1456,15 +1421,13 @@ class DeleteReq(google.protobuf.message.Message): options: global___DeleteReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___DeleteReq = DeleteReq -@typing_extensions.final +@typing.final class DeleteResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1474,35 +1437,36 @@ class DeleteResp(google.protobuf.message.Message): global___DeleteResp = DeleteResp -@typing_extensions.final +@typing.final class GetInfoReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor STREAM_IDENTIFIER_FIELD_NUMBER: builtins.int ALL_FIELD_NUMBER: builtins.int GROUP_NAME_FIELD_NUMBER: builtins.int + group_name: builtins.str @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... @property def all(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - group_name: builtins.str def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., all: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., group_name: builtins.str = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "stream_identifier", @@ -1513,7 +1477,7 @@ class GetInfoReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "group_name", @@ -1525,9 +1489,8 @@ class GetInfoReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream_identifier", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream_identifier", "all"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -1538,15 +1501,13 @@ class GetInfoReq(google.protobuf.message.Message): options: global___GetInfoReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___GetInfoReq = GetInfoReq -@typing_extensions.final +@typing.final class GetInfoResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1559,25 +1520,19 @@ class GetInfoResp(google.protobuf.message.Message): subscription_info: global___SubscriptionInfo | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "subscription_info", b"subscription_info" - ], + self, field_name: typing.Literal["subscription_info", b"subscription_info"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "subscription_info", b"subscription_info" - ], + self, field_name: typing.Literal["subscription_info", b"subscription_info"] ) -> None: ... global___GetInfoResp = GetInfoResp -@typing_extensions.final +@typing.final class SubscriptionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class ConnectionInfo(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1594,15 +1549,15 @@ class SubscriptionInfo(google.protobuf.message.Message): average_items_per_second: builtins.int total_items: builtins.int count_since_last_measurement: builtins.int + available_slots: builtins.int + in_flight_messages: builtins.int + connection_name: builtins.str @property def observed_measurements( self, ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ global___SubscriptionInfo.Measurement ]: ... - available_slots: builtins.int - in_flight_messages: builtins.int - connection_name: builtins.str def __init__( self, *, @@ -1610,17 +1565,16 @@ class SubscriptionInfo(google.protobuf.message.Message): average_items_per_second: builtins.int = ..., total_items: builtins.int = ..., count_since_last_measurement: builtins.int = ..., - observed_measurements: collections.abc.Iterable[ - global___SubscriptionInfo.Measurement - ] - | None = ..., + observed_measurements: ( + collections.abc.Iterable[global___SubscriptionInfo.Measurement] | None + ) = ..., available_slots: builtins.int = ..., in_flight_messages: builtins.int = ..., connection_name: builtins.str = ..., ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "available_slots", b"available_slots", "average_items_per_second", @@ -1642,7 +1596,7 @@ class SubscriptionInfo(google.protobuf.message.Message): ], ) -> None: ... - @typing_extensions.final + @typing.final class Measurement(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1657,8 +1611,7 @@ class SubscriptionInfo(google.protobuf.message.Message): value: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... EVENT_SOURCE_FIELD_NUMBER: builtins.int @@ -1692,12 +1645,6 @@ class SubscriptionInfo(google.protobuf.message.Message): event_source: builtins.str group_name: builtins.str status: builtins.str - @property - def connections( - self, - ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ - global___SubscriptionInfo.ConnectionInfo - ]: ... average_per_second: builtins.int total_items: builtins.int count_since_last_measurement: builtins.int @@ -1722,14 +1669,21 @@ class SubscriptionInfo(google.protobuf.message.Message): named_consumer_strategy: builtins.str max_subscriber_count: builtins.int parked_message_count: builtins.int + @property + def connections( + self, + ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ + global___SubscriptionInfo.ConnectionInfo + ]: ... def __init__( self, *, event_source: builtins.str = ..., group_name: builtins.str = ..., status: builtins.str = ..., - connections: collections.abc.Iterable[global___SubscriptionInfo.ConnectionInfo] - | None = ..., + connections: ( + collections.abc.Iterable[global___SubscriptionInfo.ConnectionInfo] | None + ) = ..., average_per_second: builtins.int = ..., total_items: builtins.int = ..., count_since_last_measurement: builtins.int = ..., @@ -1757,7 +1711,7 @@ class SubscriptionInfo(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "average_per_second", b"average_per_second", "buffer_size", @@ -1819,11 +1773,11 @@ class SubscriptionInfo(google.protobuf.message.Message): global___SubscriptionInfo = SubscriptionInfo -@typing_extensions.final +@typing.final class ReplayParkedReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1833,28 +1787,29 @@ class ReplayParkedReq(google.protobuf.message.Message): STOP_AT_FIELD_NUMBER: builtins.int NO_LIMIT_FIELD_NUMBER: builtins.int group_name: builtins.str + stop_at: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... @property def all(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - stop_at: builtins.int @property def no_limit(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... def __init__( self, *, group_name: builtins.str = ..., - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., all: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., stop_at: builtins.int = ..., no_limit: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "no_limit", @@ -1871,7 +1826,7 @@ class ReplayParkedReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "group_name", @@ -1890,14 +1845,12 @@ class ReplayParkedReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stop_at_option", b"stop_at_option"], - ) -> typing_extensions.Literal["stop_at", "no_limit"] | None: ... + self, oneof_group: typing.Literal["stop_at_option", b"stop_at_option"] + ) -> typing.Literal["stop_at", "no_limit"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream_identifier", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream_identifier", "all"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -1908,15 +1861,13 @@ class ReplayParkedReq(google.protobuf.message.Message): options: global___ReplayParkedReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___ReplayParkedReq = ReplayParkedReq -@typing_extensions.final +@typing.final class ReplayParkedResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1926,11 +1877,11 @@ class ReplayParkedResp(google.protobuf.message.Message): global___ReplayParkedResp = ReplayParkedResp -@typing_extensions.final +@typing.final class ListReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1943,13 +1894,14 @@ class ListReq(google.protobuf.message.Message): def __init__( self, *, - list_all_subscriptions: esdbclient.protos.Grpc.shared_pb2.Empty - | None = ..., + list_all_subscriptions: ( + esdbclient.protos.Grpc.shared_pb2.Empty | None + ) = ..., list_for_stream: global___ListReq.StreamOption | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "list_all_subscriptions", b"list_all_subscriptions", "list_for_stream", @@ -1960,7 +1912,7 @@ class ListReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "list_all_subscriptions", b"list_all_subscriptions", "list_for_stream", @@ -1970,13 +1922,10 @@ class ListReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["list_option", b"list_option"] - ) -> ( - typing_extensions.Literal["list_all_subscriptions", "list_for_stream"] - | None - ): ... + self, oneof_group: typing.Literal["list_option", b"list_option"] + ) -> typing.Literal["list_all_subscriptions", "list_for_stream"] | None: ... - @typing_extensions.final + @typing.final class StreamOption(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1994,20 +1943,19 @@ class ListReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "stream", b"stream", "stream_option", b"stream_option" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "stream", b"stream", "stream_option", b"stream_option" ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream", "all"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -2018,15 +1966,13 @@ class ListReq(google.protobuf.message.Message): options: global___ListReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___ListReq = ListReq -@typing_extensions.final +@typing.final class ListResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2043,7 +1989,7 @@ class ListResp(google.protobuf.message.Message): subscriptions: collections.abc.Iterable[global___SubscriptionInfo] | None = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["subscriptions", b"subscriptions"] + self, field_name: typing.Literal["subscriptions", b"subscriptions"] ) -> None: ... global___ListResp = ListResp diff --git a/esdbclient/protos/Grpc/projections_pb2.py b/esdbclient/protos/Grpc/projections_pb2.py index 29b7f90..3c3ac4c 100644 --- a/esdbclient/protos/Grpc/projections_pb2.py +++ b/esdbclient/protos/Grpc/projections_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/projections.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -22,135 +21,77 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n(esdbclient/protos/Grpc/projections.proto\x12\x1e\x65vent_store.client.projections\x1a#esdbclient/protos/Grpc/shared.proto\x1a\x1cgoogle/protobuf/struct.proto"\xb3\x03\n\tCreateReq\x12\x42\n\x07options\x18\x01' - b" \x01(\x0b\x32\x31.event_store.client.projections.CreateReq.Options\x1a\xe1\x02\n\x07Options\x12-\n\x08one_time\x18\x01" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12P\n\ttransient\x18\x02" - b" \x01(\x0b\x32;.event_store.client.projections.CreateReq.Options.TransientH\x00\x12R\n\ncontinuous\x18\x03" - b" \x01(\x0b\x32<.event_store.client.projections.CreateReq.Options.ContinuousH\x00\x12\r\n\x05query\x18\x04" - b" \x01(\t\x1a\x19\n\tTransient\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x1aO\n\nContinuous\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x12\x14\n\x0c\x65mit_enabled\x18\x02" - b" \x01(\x08\x12\x1d\n\x15track_emitted_streams\x18\x03" - b' \x01(\x08\x42\x06\n\x04mode"\x0c\n\nCreateResp"\xd5\x01\n\tUpdateReq\x12\x42\n\x07options\x18\x01' - b" \x01(\x0b\x32\x31.event_store.client.projections.UpdateReq.Options\x1a\x83\x01\n\x07Options\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x16\n\x0c\x65mit_enabled\x18\x03" - b" \x01(\x08H\x00\x12\x34\n\x0fno_emit_options\x18\x04" - b' \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\r\n\x0b\x65mit_option"\x0c\n\nUpdateResp"\xc7\x01\n\tDeleteReq\x12\x42\n\x07options\x18\x01' - b" \x01(\x0b\x32\x31.event_store.client.projections.DeleteReq.Options\x1av\n\x07Options\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x12\x1e\n\x16\x64\x65lete_emitted_streams\x18\x02" - b" \x01(\x08\x12\x1b\n\x13\x64\x65lete_state_stream\x18\x03 \x01(\x08\x12" - b" \n\x18\x64\x65lete_checkpoint_stream\x18\x04" - b' \x01(\x08"\x0c\n\nDeleteResp"\xb5\x02\n\rStatisticsReq\x12\x46\n\x07options\x18\x01' - b" \x01(\x0b\x32\x35.event_store.client.projections.StatisticsReq.Options\x1a\xdb\x01\n\x07Options\x12\x0e\n\x04name\x18\x01" - b" \x01(\tH\x00\x12(\n\x03\x61ll\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12.\n\ttransient\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12/\n\ncontinuous\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12-\n\x08one_time\x18\x05" - b' \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x06\n\x04mode"\xb0\x04\n\x0eStatisticsResp\x12G\n\x07\x64\x65tails\x18\x01' - b" \x01(\x0b\x32\x36.event_store.client.projections.StatisticsResp.Details\x1a\xd4\x03\n\x07\x44\x65tails\x12\x1a\n\x12\x63oreProcessingTime\x18\x01" - b" \x01(\x03\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\r\n\x05\x65poch\x18\x03" - b" \x01(\x03\x12\x15\n\reffectiveName\x18\x04" - b" \x01(\t\x12\x18\n\x10writesInProgress\x18\x05" - b" \x01(\x05\x12\x17\n\x0freadsInProgress\x18\x06" - b" \x01(\x05\x12\x18\n\x10partitionsCached\x18\x07" - b" \x01(\x05\x12\x0e\n\x06status\x18\x08 \x01(\t\x12\x13\n\x0bstateReason\x18\t" - b" \x01(\t\x12\x0c\n\x04name\x18\n \x01(\t\x12\x0c\n\x04mode\x18\x0b" - b" \x01(\t\x12\x10\n\x08position\x18\x0c \x01(\t\x12\x10\n\x08progress\x18\r" - b" \x01(\x02\x12\x16\n\x0elastCheckpoint\x18\x0e" - b" \x01(\t\x12#\n\x1b\x65ventsProcessedAfterRestart\x18\x0f" - b" \x01(\x03\x12\x18\n\x10\x63heckpointStatus\x18\x10" - b" \x01(\t\x12\x16\n\x0e\x62ufferedEvents\x18\x11" - b' \x01(\x03\x12*\n"writePendingEventsBeforeCheckpoint\x18\x12' - b" \x01(\x05\x12)\n!writePendingEventsAfterCheckpoint\x18\x13" - b' \x01(\x05"y\n\x08StateReq\x12\x41\n\x07options\x18\x01' - b" \x01(\x0b\x32\x30.event_store.client.projections.StateReq.Options\x1a*\n\x07Options\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x12\x11\n\tpartition\x18\x02" - b' \x01(\t"2\n\tStateResp\x12%\n\x05state\x18\x01' - b' \x01(\x0b\x32\x16.google.protobuf.Value"{\n\tResultReq\x12\x42\n\x07options\x18\x01' - b" \x01(\x0b\x32\x31.event_store.client.projections.ResultReq.Options\x1a*\n\x07Options\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x12\x11\n\tpartition\x18\x02" - b' \x01(\t"4\n\nResultResp\x12&\n\x06result\x18\x01' - b' \x01(\x0b\x32\x16.google.protobuf.Value"\x80\x01\n\x08ResetReq\x12\x41\n\x07options\x18\x01' - b" \x01(\x0b\x32\x30.event_store.client.projections.ResetReq.Options\x1a\x31\n\x07Options\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x12\x18\n\x10write_checkpoint\x18\x02" - b' \x01(\x08"\x0b\n\tResetResp"h\n\tEnableReq\x12\x42\n\x07options\x18\x01' - b" \x01(\x0b\x32\x31.event_store.client.projections.EnableReq.Options\x1a\x17\n\x07Options\x12\x0c\n\x04name\x18\x01" - b' \x01(\t"\x0c\n\nEnableResp"\x84\x01\n\nDisableReq\x12\x43\n\x07options\x18\x01' - b" \x01(\x0b\x32\x32.event_store.client.projections.DisableReq.Options\x1a\x31\n\x07Options\x12\x0c\n\x04name\x18\x01" - b" \x01(\t\x12\x18\n\x10write_checkpoint\x18\x02" - b' \x01(\x08"\r\n\x0b\x44isableResp2\xcb\x07\n\x0bProjections\x12_\n\x06\x43reate\x12).event_store.client.projections.CreateReq\x1a*.event_store.client.projections.CreateResp\x12_\n\x06Update\x12).event_store.client.projections.UpdateReq\x1a*.event_store.client.projections.UpdateResp\x12_\n\x06\x44\x65lete\x12).event_store.client.projections.DeleteReq\x1a*.event_store.client.projections.DeleteResp\x12m\n\nStatistics\x12-.event_store.client.projections.StatisticsReq\x1a..event_store.client.projections.StatisticsResp0\x01\x12\x62\n\x07\x44isable\x12*.event_store.client.projections.DisableReq\x1a+.event_store.client.projections.DisableResp\x12_\n\x06\x45nable\x12).event_store.client.projections.EnableReq\x1a*.event_store.client.projections.EnableResp\x12\\\n\x05Reset\x12(.event_store.client.projections.ResetReq\x1a).event_store.client.projections.ResetResp\x12\\\n\x05State\x12(.event_store.client.projections.StateReq\x1a).event_store.client.projections.StateResp\x12_\n\x06Result\x12).event_store.client.projections.ResultReq\x1a*.event_store.client.projections.ResultResp\x12H\n\x10RestartSubsystem\x12\x19.event_store.client.Empty\x1a\x19.event_store.client.EmptyB+\n)com.eventstore.dbclient.proto.projectionsb\x06proto3' + b'\n(esdbclient/protos/Grpc/projections.proto\x12\x1e\x65vent_store.client.projections\x1a#esdbclient/protos/Grpc/shared.proto\x1a\x1cgoogle/protobuf/struct.proto"\xb3\x03\n\tCreateReq\x12\x42\n\x07options\x18\x01 \x01(\x0b\x32\x31.event_store.client.projections.CreateReq.Options\x1a\xe1\x02\n\x07Options\x12-\n\x08one_time\x18\x01 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12P\n\ttransient\x18\x02 \x01(\x0b\x32;.event_store.client.projections.CreateReq.Options.TransientH\x00\x12R\n\ncontinuous\x18\x03 \x01(\x0b\x32<.event_store.client.projections.CreateReq.Options.ContinuousH\x00\x12\r\n\x05query\x18\x04 \x01(\t\x1a\x19\n\tTransient\x12\x0c\n\x04name\x18\x01 \x01(\t\x1aO\n\nContinuous\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x65mit_enabled\x18\x02 \x01(\x08\x12\x1d\n\x15track_emitted_streams\x18\x03 \x01(\x08\x42\x06\n\x04mode"\x0c\n\nCreateResp"\xd5\x01\n\tUpdateReq\x12\x42\n\x07options\x18\x01 \x01(\x0b\x32\x31.event_store.client.projections.UpdateReq.Options\x1a\x83\x01\n\x07Options\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05query\x18\x02 \x01(\t\x12\x16\n\x0c\x65mit_enabled\x18\x03 \x01(\x08H\x00\x12\x34\n\x0fno_emit_options\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\r\n\x0b\x65mit_option"\x0c\n\nUpdateResp"\xc7\x01\n\tDeleteReq\x12\x42\n\x07options\x18\x01 \x01(\x0b\x32\x31.event_store.client.projections.DeleteReq.Options\x1av\n\x07Options\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1e\n\x16\x64\x65lete_emitted_streams\x18\x02 \x01(\x08\x12\x1b\n\x13\x64\x65lete_state_stream\x18\x03 \x01(\x08\x12 \n\x18\x64\x65lete_checkpoint_stream\x18\x04 \x01(\x08"\x0c\n\nDeleteResp"\xb5\x02\n\rStatisticsReq\x12\x46\n\x07options\x18\x01 \x01(\x0b\x32\x35.event_store.client.projections.StatisticsReq.Options\x1a\xdb\x01\n\x07Options\x12\x0e\n\x04name\x18\x01 \x01(\tH\x00\x12(\n\x03\x61ll\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12.\n\ttransient\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12/\n\ncontinuous\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12-\n\x08one_time\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x06\n\x04mode"\xb0\x04\n\x0eStatisticsResp\x12G\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x36.event_store.client.projections.StatisticsResp.Details\x1a\xd4\x03\n\x07\x44\x65tails\x12\x1a\n\x12\x63oreProcessingTime\x18\x01 \x01(\x03\x12\x0f\n\x07version\x18\x02 \x01(\x03\x12\r\n\x05\x65poch\x18\x03 \x01(\x03\x12\x15\n\reffectiveName\x18\x04 \x01(\t\x12\x18\n\x10writesInProgress\x18\x05 \x01(\x05\x12\x17\n\x0freadsInProgress\x18\x06 \x01(\x05\x12\x18\n\x10partitionsCached\x18\x07 \x01(\x05\x12\x0e\n\x06status\x18\x08 \x01(\t\x12\x13\n\x0bstateReason\x18\t \x01(\t\x12\x0c\n\x04name\x18\n \x01(\t\x12\x0c\n\x04mode\x18\x0b \x01(\t\x12\x10\n\x08position\x18\x0c \x01(\t\x12\x10\n\x08progress\x18\r \x01(\x02\x12\x16\n\x0elastCheckpoint\x18\x0e \x01(\t\x12#\n\x1b\x65ventsProcessedAfterRestart\x18\x0f \x01(\x03\x12\x18\n\x10\x63heckpointStatus\x18\x10 \x01(\t\x12\x16\n\x0e\x62ufferedEvents\x18\x11 \x01(\x03\x12*\n"writePendingEventsBeforeCheckpoint\x18\x12 \x01(\x05\x12)\n!writePendingEventsAfterCheckpoint\x18\x13 \x01(\x05"y\n\x08StateReq\x12\x41\n\x07options\x18\x01 \x01(\x0b\x32\x30.event_store.client.projections.StateReq.Options\x1a*\n\x07Options\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tpartition\x18\x02 \x01(\t"2\n\tStateResp\x12%\n\x05state\x18\x01 \x01(\x0b\x32\x16.google.protobuf.Value"{\n\tResultReq\x12\x42\n\x07options\x18\x01 \x01(\x0b\x32\x31.event_store.client.projections.ResultReq.Options\x1a*\n\x07Options\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tpartition\x18\x02 \x01(\t"4\n\nResultResp\x12&\n\x06result\x18\x01 \x01(\x0b\x32\x16.google.protobuf.Value"\x80\x01\n\x08ResetReq\x12\x41\n\x07options\x18\x01 \x01(\x0b\x32\x30.event_store.client.projections.ResetReq.Options\x1a\x31\n\x07Options\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10write_checkpoint\x18\x02 \x01(\x08"\x0b\n\tResetResp"h\n\tEnableReq\x12\x42\n\x07options\x18\x01 \x01(\x0b\x32\x31.event_store.client.projections.EnableReq.Options\x1a\x17\n\x07Options\x12\x0c\n\x04name\x18\x01 \x01(\t"\x0c\n\nEnableResp"\x84\x01\n\nDisableReq\x12\x43\n\x07options\x18\x01 \x01(\x0b\x32\x32.event_store.client.projections.DisableReq.Options\x1a\x31\n\x07Options\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x10write_checkpoint\x18\x02 \x01(\x08"\r\n\x0b\x44isableResp2\xcb\x07\n\x0bProjections\x12_\n\x06\x43reate\x12).event_store.client.projections.CreateReq\x1a*.event_store.client.projections.CreateResp\x12_\n\x06Update\x12).event_store.client.projections.UpdateReq\x1a*.event_store.client.projections.UpdateResp\x12_\n\x06\x44\x65lete\x12).event_store.client.projections.DeleteReq\x1a*.event_store.client.projections.DeleteResp\x12m\n\nStatistics\x12-.event_store.client.projections.StatisticsReq\x1a..event_store.client.projections.StatisticsResp0\x01\x12\x62\n\x07\x44isable\x12*.event_store.client.projections.DisableReq\x1a+.event_store.client.projections.DisableResp\x12_\n\x06\x45nable\x12).event_store.client.projections.EnableReq\x1a*.event_store.client.projections.EnableResp\x12\\\n\x05Reset\x12(.event_store.client.projections.ResetReq\x1a).event_store.client.projections.ResetResp\x12\\\n\x05State\x12(.event_store.client.projections.StateReq\x1a).event_store.client.projections.StateResp\x12_\n\x06Result\x12).event_store.client.projections.ResultReq\x1a*.event_store.client.projections.ResultResp\x12H\n\x10RestartSubsystem\x12\x19.event_store.client.Empty\x1a\x19.event_store.client.EmptyB+\n)com.eventstore.dbclient.proto.projectionsb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.projections_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.projections_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n)com.eventstore.dbclient.proto.projections" - ) - _globals["_CREATEREQ"]._serialized_start = 144 - _globals["_CREATEREQ"]._serialized_end = 579 - _globals["_CREATEREQ_OPTIONS"]._serialized_start = 226 - _globals["_CREATEREQ_OPTIONS"]._serialized_end = 579 - _globals["_CREATEREQ_OPTIONS_TRANSIENT"]._serialized_start = 465 - _globals["_CREATEREQ_OPTIONS_TRANSIENT"]._serialized_end = 490 - _globals["_CREATEREQ_OPTIONS_CONTINUOUS"]._serialized_start = 492 - _globals["_CREATEREQ_OPTIONS_CONTINUOUS"]._serialized_end = 571 - _globals["_CREATERESP"]._serialized_start = 581 - _globals["_CREATERESP"]._serialized_end = 593 - _globals["_UPDATEREQ"]._serialized_start = 596 - _globals["_UPDATEREQ"]._serialized_end = 809 - _globals["_UPDATEREQ_OPTIONS"]._serialized_start = 678 - _globals["_UPDATEREQ_OPTIONS"]._serialized_end = 809 - _globals["_UPDATERESP"]._serialized_start = 811 - _globals["_UPDATERESP"]._serialized_end = 823 - _globals["_DELETEREQ"]._serialized_start = 826 - _globals["_DELETEREQ"]._serialized_end = 1025 - _globals["_DELETEREQ_OPTIONS"]._serialized_start = 907 - _globals["_DELETEREQ_OPTIONS"]._serialized_end = 1025 - _globals["_DELETERESP"]._serialized_start = 1027 - _globals["_DELETERESP"]._serialized_end = 1039 - _globals["_STATISTICSREQ"]._serialized_start = 1042 - _globals["_STATISTICSREQ"]._serialized_end = 1351 - _globals["_STATISTICSREQ_OPTIONS"]._serialized_start = 1132 - _globals["_STATISTICSREQ_OPTIONS"]._serialized_end = 1351 - _globals["_STATISTICSRESP"]._serialized_start = 1354 - _globals["_STATISTICSRESP"]._serialized_end = 1914 - _globals["_STATISTICSRESP_DETAILS"]._serialized_start = 1446 - _globals["_STATISTICSRESP_DETAILS"]._serialized_end = 1914 - _globals["_STATEREQ"]._serialized_start = 1916 - _globals["_STATEREQ"]._serialized_end = 2037 - _globals["_STATEREQ_OPTIONS"]._serialized_start = 1995 - _globals["_STATEREQ_OPTIONS"]._serialized_end = 2037 - _globals["_STATERESP"]._serialized_start = 2039 - _globals["_STATERESP"]._serialized_end = 2089 - _globals["_RESULTREQ"]._serialized_start = 2091 - _globals["_RESULTREQ"]._serialized_end = 2214 - _globals["_RESULTREQ_OPTIONS"]._serialized_start = 1995 - _globals["_RESULTREQ_OPTIONS"]._serialized_end = 2037 - _globals["_RESULTRESP"]._serialized_start = 2216 - _globals["_RESULTRESP"]._serialized_end = 2268 - _globals["_RESETREQ"]._serialized_start = 2271 - _globals["_RESETREQ"]._serialized_end = 2399 - _globals["_RESETREQ_OPTIONS"]._serialized_start = 2350 - _globals["_RESETREQ_OPTIONS"]._serialized_end = 2399 - _globals["_RESETRESP"]._serialized_start = 2401 - _globals["_RESETRESP"]._serialized_end = 2412 - _globals["_ENABLEREQ"]._serialized_start = 2414 - _globals["_ENABLEREQ"]._serialized_end = 2518 - _globals["_ENABLEREQ_OPTIONS"]._serialized_start = 678 - _globals["_ENABLEREQ_OPTIONS"]._serialized_end = 701 - _globals["_ENABLERESP"]._serialized_start = 2520 - _globals["_ENABLERESP"]._serialized_end = 2532 - _globals["_DISABLEREQ"]._serialized_start = 2535 - _globals["_DISABLEREQ"]._serialized_end = 2667 - _globals["_DISABLEREQ_OPTIONS"]._serialized_start = 2350 - _globals["_DISABLEREQ_OPTIONS"]._serialized_end = 2399 - _globals["_DISABLERESP"]._serialized_start = 2669 - _globals["_DISABLERESP"]._serialized_end = 2682 - _globals["_PROJECTIONS"]._serialized_start = 2685 - _globals["_PROJECTIONS"]._serialized_end = 3656 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n)com.eventstore.dbclient.proto.projections" + _CREATEREQ._serialized_start = 144 + _CREATEREQ._serialized_end = 579 + _CREATEREQ_OPTIONS._serialized_start = 226 + _CREATEREQ_OPTIONS._serialized_end = 579 + _CREATEREQ_OPTIONS_TRANSIENT._serialized_start = 465 + _CREATEREQ_OPTIONS_TRANSIENT._serialized_end = 490 + _CREATEREQ_OPTIONS_CONTINUOUS._serialized_start = 492 + _CREATEREQ_OPTIONS_CONTINUOUS._serialized_end = 571 + _CREATERESP._serialized_start = 581 + _CREATERESP._serialized_end = 593 + _UPDATEREQ._serialized_start = 596 + _UPDATEREQ._serialized_end = 809 + _UPDATEREQ_OPTIONS._serialized_start = 678 + _UPDATEREQ_OPTIONS._serialized_end = 809 + _UPDATERESP._serialized_start = 811 + _UPDATERESP._serialized_end = 823 + _DELETEREQ._serialized_start = 826 + _DELETEREQ._serialized_end = 1025 + _DELETEREQ_OPTIONS._serialized_start = 907 + _DELETEREQ_OPTIONS._serialized_end = 1025 + _DELETERESP._serialized_start = 1027 + _DELETERESP._serialized_end = 1039 + _STATISTICSREQ._serialized_start = 1042 + _STATISTICSREQ._serialized_end = 1351 + _STATISTICSREQ_OPTIONS._serialized_start = 1132 + _STATISTICSREQ_OPTIONS._serialized_end = 1351 + _STATISTICSRESP._serialized_start = 1354 + _STATISTICSRESP._serialized_end = 1914 + _STATISTICSRESP_DETAILS._serialized_start = 1446 + _STATISTICSRESP_DETAILS._serialized_end = 1914 + _STATEREQ._serialized_start = 1916 + _STATEREQ._serialized_end = 2037 + _STATEREQ_OPTIONS._serialized_start = 1995 + _STATEREQ_OPTIONS._serialized_end = 2037 + _STATERESP._serialized_start = 2039 + _STATERESP._serialized_end = 2089 + _RESULTREQ._serialized_start = 2091 + _RESULTREQ._serialized_end = 2214 + _RESULTREQ_OPTIONS._serialized_start = 1995 + _RESULTREQ_OPTIONS._serialized_end = 2037 + _RESULTRESP._serialized_start = 2216 + _RESULTRESP._serialized_end = 2268 + _RESETREQ._serialized_start = 2271 + _RESETREQ._serialized_end = 2399 + _RESETREQ_OPTIONS._serialized_start = 2350 + _RESETREQ_OPTIONS._serialized_end = 2399 + _RESETRESP._serialized_start = 2401 + _RESETRESP._serialized_end = 2412 + _ENABLEREQ._serialized_start = 2414 + _ENABLEREQ._serialized_end = 2518 + _ENABLEREQ_OPTIONS._serialized_start = 678 + _ENABLEREQ_OPTIONS._serialized_end = 701 + _ENABLERESP._serialized_start = 2520 + _ENABLERESP._serialized_end = 2532 + _DISABLEREQ._serialized_start = 2535 + _DISABLEREQ._serialized_end = 2667 + _DISABLEREQ_OPTIONS._serialized_start = 2350 + _DISABLEREQ_OPTIONS._serialized_end = 2399 + _DISABLERESP._serialized_start = 2669 + _DISABLERESP._serialized_end = 2682 + _PROJECTIONS._serialized_start = 2685 + _PROJECTIONS._serialized_end = 3656 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/projections_pb2.pyi b/esdbclient/protos/Grpc/projections_pb2.pyi index 55200dd..95027a4 100644 --- a/esdbclient/protos/Grpc/projections_pb2.pyi +++ b/esdbclient/protos/Grpc/projections_pb2.pyi @@ -2,29 +2,25 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import esdbclient.protos.Grpc.shared_pb2 import google.protobuf.descriptor import google.protobuf.message import google.protobuf.struct_pb2 -import sys - -if sys.version_info >= (3, 8): - import typing as typing_extensions -else: - import typing_extensions +import typing DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing_extensions.final +@typing.final class CreateReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Transient(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -36,10 +32,10 @@ class CreateReq(google.protobuf.message.Message): name: builtins.str = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] + self, field_name: typing.Literal["name", b"name"] ) -> None: ... - @typing_extensions.final + @typing.final class Continuous(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -58,7 +54,7 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "emit_enabled", b"emit_enabled", "name", @@ -72,13 +68,13 @@ class CreateReq(google.protobuf.message.Message): TRANSIENT_FIELD_NUMBER: builtins.int CONTINUOUS_FIELD_NUMBER: builtins.int QUERY_FIELD_NUMBER: builtins.int + query: builtins.str @property def one_time(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property def transient(self) -> global___CreateReq.Options.Transient: ... @property def continuous(self) -> global___CreateReq.Options.Continuous: ... - query: builtins.str def __init__( self, *, @@ -89,7 +85,7 @@ class CreateReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "continuous", b"continuous", "mode", @@ -102,7 +98,7 @@ class CreateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "continuous", b"continuous", "mode", @@ -116,10 +112,8 @@ class CreateReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["mode", b"mode"] - ) -> ( - typing_extensions.Literal["one_time", "transient", "continuous"] | None - ): ... + self, oneof_group: typing.Literal["mode", b"mode"] + ) -> typing.Literal["one_time", "transient", "continuous"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -130,15 +124,13 @@ class CreateReq(google.protobuf.message.Message): options: global___CreateReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___CreateReq = CreateReq -@typing_extensions.final +@typing.final class CreateResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -148,11 +140,11 @@ class CreateResp(google.protobuf.message.Message): global___CreateResp = CreateResp -@typing_extensions.final +@typing.final class UpdateReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -175,7 +167,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "emit_enabled", b"emit_enabled", "emit_option", @@ -186,7 +178,7 @@ class UpdateReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "emit_enabled", b"emit_enabled", "emit_option", @@ -200,8 +192,8 @@ class UpdateReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["emit_option", b"emit_option"] - ) -> typing_extensions.Literal["emit_enabled", "no_emit_options"] | None: ... + self, oneof_group: typing.Literal["emit_option", b"emit_option"] + ) -> typing.Literal["emit_enabled", "no_emit_options"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -212,15 +204,13 @@ class UpdateReq(google.protobuf.message.Message): options: global___UpdateReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___UpdateReq = UpdateReq -@typing_extensions.final +@typing.final class UpdateResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -230,11 +220,11 @@ class UpdateResp(google.protobuf.message.Message): global___UpdateResp = UpdateResp -@typing_extensions.final +@typing.final class DeleteReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -256,7 +246,7 @@ class DeleteReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "delete_checkpoint_stream", b"delete_checkpoint_stream", "delete_emitted_streams", @@ -277,15 +267,13 @@ class DeleteReq(google.protobuf.message.Message): options: global___DeleteReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___DeleteReq = DeleteReq -@typing_extensions.final +@typing.final class DeleteResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -295,11 +283,11 @@ class DeleteResp(google.protobuf.message.Message): global___DeleteResp = DeleteResp -@typing_extensions.final +@typing.final class StatisticsReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -328,7 +316,7 @@ class StatisticsReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "continuous", @@ -345,7 +333,7 @@ class StatisticsReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "continuous", @@ -361,12 +349,9 @@ class StatisticsReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["mode", b"mode"] + self, oneof_group: typing.Literal["mode", b"mode"] ) -> ( - typing_extensions.Literal[ - "name", "all", "transient", "continuous", "one_time" - ] - | None + typing.Literal["name", "all", "transient", "continuous", "one_time"] | None ): ... OPTIONS_FIELD_NUMBER: builtins.int @@ -378,19 +363,17 @@ class StatisticsReq(google.protobuf.message.Message): options: global___StatisticsReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___StatisticsReq = StatisticsReq -@typing_extensions.final +@typing.final class StatisticsResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Details(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -457,7 +440,7 @@ class StatisticsResp(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "bufferedEvents", b"bufferedEvents", "checkpointStatus", @@ -508,19 +491,17 @@ class StatisticsResp(google.protobuf.message.Message): details: global___StatisticsResp.Details | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["details", b"details"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["details", b"details"]) -> None: ... global___StatisticsResp = StatisticsResp -@typing_extensions.final +@typing.final class StateReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -535,10 +516,7 @@ class StateReq(google.protobuf.message.Message): partition: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", b"name", "partition", b"partition" - ], + self, field_name: typing.Literal["name", b"name", "partition", b"partition"] ) -> None: ... OPTIONS_FIELD_NUMBER: builtins.int @@ -550,15 +528,13 @@ class StateReq(google.protobuf.message.Message): options: global___StateReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___StateReq = StateReq -@typing_extensions.final +@typing.final class StateResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -571,19 +547,17 @@ class StateResp(google.protobuf.message.Message): state: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["state", b"state"] + self, field_name: typing.Literal["state", b"state"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["state", b"state"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["state", b"state"]) -> None: ... global___StateResp = StateResp -@typing_extensions.final +@typing.final class ResultReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -598,10 +572,7 @@ class ResultReq(google.protobuf.message.Message): partition: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "name", b"name", "partition", b"partition" - ], + self, field_name: typing.Literal["name", b"name", "partition", b"partition"] ) -> None: ... OPTIONS_FIELD_NUMBER: builtins.int @@ -613,15 +584,13 @@ class ResultReq(google.protobuf.message.Message): options: global___ResultReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___ResultReq = ResultReq -@typing_extensions.final +@typing.final class ResultResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -634,19 +603,17 @@ class ResultResp(google.protobuf.message.Message): result: google.protobuf.struct_pb2.Value | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["result", b"result"] + self, field_name: typing.Literal["result", b"result"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["result", b"result"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["result", b"result"]) -> None: ... global___ResultResp = ResultResp -@typing_extensions.final +@typing.final class ResetReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -662,7 +629,7 @@ class ResetReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "name", b"name", "write_checkpoint", b"write_checkpoint" ], ) -> None: ... @@ -676,15 +643,13 @@ class ResetReq(google.protobuf.message.Message): options: global___ResetReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___ResetReq = ResetReq -@typing_extensions.final +@typing.final class ResetResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -694,11 +659,11 @@ class ResetResp(google.protobuf.message.Message): global___ResetResp = ResetResp -@typing_extensions.final +@typing.final class EnableReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -709,9 +674,7 @@ class EnableReq(google.protobuf.message.Message): *, name: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["name", b"name"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -722,15 +685,13 @@ class EnableReq(google.protobuf.message.Message): options: global___EnableReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___EnableReq = EnableReq -@typing_extensions.final +@typing.final class EnableResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -740,11 +701,11 @@ class EnableResp(google.protobuf.message.Message): global___EnableResp = EnableResp -@typing_extensions.final +@typing.final class DisableReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -760,7 +721,7 @@ class DisableReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "name", b"name", "write_checkpoint", b"write_checkpoint" ], ) -> None: ... @@ -774,15 +735,13 @@ class DisableReq(google.protobuf.message.Message): options: global___DisableReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___DisableReq = DisableReq -@typing_extensions.final +@typing.final class DisableResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor diff --git a/esdbclient/protos/Grpc/shared_pb2.py b/esdbclient/protos/Grpc/shared_pb2.py index 1a27577..86fc82f 100644 --- a/esdbclient/protos/Grpc/shared_pb2.py +++ b/esdbclient/protos/Grpc/shared_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/shared.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -18,60 +17,41 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2 DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#esdbclient/protos/Grpc/shared.proto\x12\x12\x65vent_store.client\x1a\x1bgoogle/protobuf/empty.proto"\xa9\x01\n\x04UUID\x12\x39\n\nstructured\x18\x01' - b" \x01(\x0b\x32#.event_store.client.UUID.StructuredH\x00\x12\x10\n\x06string\x18\x02" - b" \x01(\tH\x00\x1aK\n\nStructured\x12\x1d\n\x15most_significant_bits\x18\x01" - b" \x01(\x03\x12\x1e\n\x16least_significant_bits\x18\x02" - b' \x01(\x03\x42\x07\n\x05value"\x07\n\x05\x45mpty"-\n\x10StreamIdentifier\x12\x13\n\x0bstream_name\x18\x03' - b' \x01(\x0cJ\x04\x08\x01\x10\x03"F\n\x11\x41llStreamPosition\x12\x17\n\x0f\x63ommit_position\x18\x01' - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b' \x01(\x04"\xf7\x02\n\x14WrongExpectedVersion\x12!\n\x17\x63urrent_stream_revision\x18\x01' - b" \x01(\x04H\x00\x12\x33\n\x11\x63urrent_no_stream\x18\x02" - b' \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12"\n\x18\x65xpected_stream_position\x18\x03' - b" \x01(\x04H\x01\x12.\n\x0c\x65xpected_any\x18\x04" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12\x38\n\x16\x65xpected_stream_exists\x18\x05" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12\x34\n\x12\x65xpected_no_stream\x18\x06" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x42" - b' \n\x1e\x63urrent_stream_revision_optionB!\n\x1f\x65xpected_stream_position_option"\x0e\n\x0c\x41\x63\x63\x65ssDenied"P\n\rStreamDeleted\x12?\n\x11stream_identifier\x18\x01' - b' \x01(\x0b\x32$.event_store.client.StreamIdentifier"\t\n\x07Timeout"\t\n\x07Unknown"\x14\n\x12InvalidTransaction"2\n\x19MaximumAppendSizeExceeded\x12\x15\n\rmaxAppendSize\x18\x01' - b' \x01(\r"\x1d\n\nBadRequest\x12\x0f\n\x07message\x18\x01' - b" \x01(\tB&\n$com.eventstore.dbclient.proto.sharedb\x06proto3" + b'\n#esdbclient/protos/Grpc/shared.proto\x12\x12\x65vent_store.client\x1a\x1bgoogle/protobuf/empty.proto"\xa9\x01\n\x04UUID\x12\x39\n\nstructured\x18\x01 \x01(\x0b\x32#.event_store.client.UUID.StructuredH\x00\x12\x10\n\x06string\x18\x02 \x01(\tH\x00\x1aK\n\nStructured\x12\x1d\n\x15most_significant_bits\x18\x01 \x01(\x03\x12\x1e\n\x16least_significant_bits\x18\x02 \x01(\x03\x42\x07\n\x05value"\x07\n\x05\x45mpty"-\n\x10StreamIdentifier\x12\x13\n\x0bstream_name\x18\x03 \x01(\x0cJ\x04\x08\x01\x10\x03"F\n\x11\x41llStreamPosition\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04"\xf7\x02\n\x14WrongExpectedVersion\x12!\n\x17\x63urrent_stream_revision\x18\x01 \x01(\x04H\x00\x12\x33\n\x11\x63urrent_no_stream\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12"\n\x18\x65xpected_stream_position\x18\x03 \x01(\x04H\x01\x12.\n\x0c\x65xpected_any\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12\x38\n\x16\x65xpected_stream_exists\x18\x05 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12\x34\n\x12\x65xpected_no_stream\x18\x06 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x42 \n\x1e\x63urrent_stream_revision_optionB!\n\x1f\x65xpected_stream_position_option"\x0e\n\x0c\x41\x63\x63\x65ssDenied"P\n\rStreamDeleted\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier"\t\n\x07Timeout"\t\n\x07Unknown"\x14\n\x12InvalidTransaction"2\n\x19MaximumAppendSizeExceeded\x12\x15\n\rmaxAppendSize\x18\x01 \x01(\r"\x1d\n\nBadRequest\x12\x0f\n\x07message\x18\x01 \x01(\tB&\n$com.eventstore.dbclient.proto.sharedb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.shared_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.shared_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n$com.eventstore.dbclient.proto.shared" - ) - _globals["_UUID"]._serialized_start = 89 - _globals["_UUID"]._serialized_end = 258 - _globals["_UUID_STRUCTURED"]._serialized_start = 174 - _globals["_UUID_STRUCTURED"]._serialized_end = 249 - _globals["_EMPTY"]._serialized_start = 260 - _globals["_EMPTY"]._serialized_end = 267 - _globals["_STREAMIDENTIFIER"]._serialized_start = 269 - _globals["_STREAMIDENTIFIER"]._serialized_end = 314 - _globals["_ALLSTREAMPOSITION"]._serialized_start = 316 - _globals["_ALLSTREAMPOSITION"]._serialized_end = 386 - _globals["_WRONGEXPECTEDVERSION"]._serialized_start = 389 - _globals["_WRONGEXPECTEDVERSION"]._serialized_end = 764 - _globals["_ACCESSDENIED"]._serialized_start = 766 - _globals["_ACCESSDENIED"]._serialized_end = 780 - _globals["_STREAMDELETED"]._serialized_start = 782 - _globals["_STREAMDELETED"]._serialized_end = 862 - _globals["_TIMEOUT"]._serialized_start = 864 - _globals["_TIMEOUT"]._serialized_end = 873 - _globals["_UNKNOWN"]._serialized_start = 875 - _globals["_UNKNOWN"]._serialized_end = 884 - _globals["_INVALIDTRANSACTION"]._serialized_start = 886 - _globals["_INVALIDTRANSACTION"]._serialized_end = 906 - _globals["_MAXIMUMAPPENDSIZEEXCEEDED"]._serialized_start = 908 - _globals["_MAXIMUMAPPENDSIZEEXCEEDED"]._serialized_end = 958 - _globals["_BADREQUEST"]._serialized_start = 960 - _globals["_BADREQUEST"]._serialized_end = 989 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n$com.eventstore.dbclient.proto.shared" + _UUID._serialized_start = 89 + _UUID._serialized_end = 258 + _UUID_STRUCTURED._serialized_start = 174 + _UUID_STRUCTURED._serialized_end = 249 + _EMPTY._serialized_start = 260 + _EMPTY._serialized_end = 267 + _STREAMIDENTIFIER._serialized_start = 269 + _STREAMIDENTIFIER._serialized_end = 314 + _ALLSTREAMPOSITION._serialized_start = 316 + _ALLSTREAMPOSITION._serialized_end = 386 + _WRONGEXPECTEDVERSION._serialized_start = 389 + _WRONGEXPECTEDVERSION._serialized_end = 764 + _ACCESSDENIED._serialized_start = 766 + _ACCESSDENIED._serialized_end = 780 + _STREAMDELETED._serialized_start = 782 + _STREAMDELETED._serialized_end = 862 + _TIMEOUT._serialized_start = 864 + _TIMEOUT._serialized_end = 873 + _UNKNOWN._serialized_start = 875 + _UNKNOWN._serialized_end = 884 + _INVALIDTRANSACTION._serialized_start = 886 + _INVALIDTRANSACTION._serialized_end = 906 + _MAXIMUMAPPENDSIZEEXCEEDED._serialized_start = 908 + _MAXIMUMAPPENDSIZEEXCEEDED._serialized_end = 958 + _BADREQUEST._serialized_start = 960 + _BADREQUEST._serialized_end = 989 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/shared_pb2.pyi b/esdbclient/protos/Grpc/shared_pb2.pyi index 6882d37..de3f616 100644 --- a/esdbclient/protos/Grpc/shared_pb2.pyi +++ b/esdbclient/protos/Grpc/shared_pb2.pyi @@ -2,25 +2,20 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import google.protobuf.descriptor import google.protobuf.empty_pb2 import google.protobuf.message -import sys import typing -if sys.version_info >= (3, 8): - import typing as typing_extensions -else: - import typing_extensions - DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing_extensions.final +@typing.final class UUID(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Structured(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -36,7 +31,7 @@ class UUID(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "least_significant_bits", b"least_significant_bits", "most_significant_bits", @@ -46,9 +41,9 @@ class UUID(google.protobuf.message.Message): STRUCTURED_FIELD_NUMBER: builtins.int STRING_FIELD_NUMBER: builtins.int + string: builtins.str @property def structured(self) -> global___UUID.Structured: ... - string: builtins.str def __init__( self, *, @@ -57,23 +52,23 @@ class UUID(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "string", b"string", "structured", b"structured", "value", b"value" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "string", b"string", "structured", b"structured", "value", b"value" ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["value", b"value"] - ) -> typing_extensions.Literal["structured", "string"] | None: ... + self, oneof_group: typing.Literal["value", b"value"] + ) -> typing.Literal["structured", "string"] | None: ... global___UUID = UUID -@typing_extensions.final +@typing.final class Empty(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -83,7 +78,7 @@ class Empty(google.protobuf.message.Message): global___Empty = Empty -@typing_extensions.final +@typing.final class StreamIdentifier(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -95,12 +90,12 @@ class StreamIdentifier(google.protobuf.message.Message): stream_name: builtins.bytes = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["stream_name", b"stream_name"] + self, field_name: typing.Literal["stream_name", b"stream_name"] ) -> None: ... global___StreamIdentifier = StreamIdentifier -@typing_extensions.final +@typing.final class AllStreamPosition(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -116,7 +111,7 @@ class AllStreamPosition(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -126,7 +121,7 @@ class AllStreamPosition(google.protobuf.message.Message): global___AllStreamPosition = AllStreamPosition -@typing_extensions.final +@typing.final class WrongExpectedVersion(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -137,9 +132,9 @@ class WrongExpectedVersion(google.protobuf.message.Message): EXPECTED_STREAM_EXISTS_FIELD_NUMBER: builtins.int EXPECTED_NO_STREAM_FIELD_NUMBER: builtins.int current_stream_revision: builtins.int + expected_stream_position: builtins.int @property def current_no_stream(self) -> google.protobuf.empty_pb2.Empty: ... - expected_stream_position: builtins.int @property def expected_any(self) -> google.protobuf.empty_pb2.Empty: ... @property @@ -158,7 +153,7 @@ class WrongExpectedVersion(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_no_stream", b"current_no_stream", "current_stream_revision", @@ -179,7 +174,7 @@ class WrongExpectedVersion(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_no_stream", b"current_no_stream", "current_stream_revision", @@ -201,20 +196,18 @@ class WrongExpectedVersion(google.protobuf.message.Message): @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "current_stream_revision_option", b"current_stream_revision_option" ], - ) -> ( - typing_extensions.Literal["current_stream_revision", "current_no_stream"] | None - ): ... + ) -> typing.Literal["current_stream_revision", "current_no_stream"] | None: ... @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_stream_position_option", b"expected_stream_position_option" ], ) -> ( - typing_extensions.Literal[ + typing.Literal[ "expected_stream_position", "expected_any", "expected_stream_exists", @@ -225,7 +218,7 @@ class WrongExpectedVersion(google.protobuf.message.Message): global___WrongExpectedVersion = WrongExpectedVersion -@typing_extensions.final +@typing.final class AccessDenied(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -235,7 +228,7 @@ class AccessDenied(google.protobuf.message.Message): global___AccessDenied = AccessDenied -@typing_extensions.final +@typing.final class StreamDeleted(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -248,21 +241,15 @@ class StreamDeleted(google.protobuf.message.Message): stream_identifier: global___StreamIdentifier | None = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "stream_identifier", b"stream_identifier" - ], + self, field_name: typing.Literal["stream_identifier", b"stream_identifier"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "stream_identifier", b"stream_identifier" - ], + self, field_name: typing.Literal["stream_identifier", b"stream_identifier"] ) -> None: ... global___StreamDeleted = StreamDeleted -@typing_extensions.final +@typing.final class Timeout(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -272,7 +259,7 @@ class Timeout(google.protobuf.message.Message): global___Timeout = Timeout -@typing_extensions.final +@typing.final class Unknown(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -282,7 +269,7 @@ class Unknown(google.protobuf.message.Message): global___Unknown = Unknown -@typing_extensions.final +@typing.final class InvalidTransaction(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -292,7 +279,7 @@ class InvalidTransaction(google.protobuf.message.Message): global___InvalidTransaction = InvalidTransaction -@typing_extensions.final +@typing.final class MaximumAppendSizeExceeded(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -304,12 +291,12 @@ class MaximumAppendSizeExceeded(google.protobuf.message.Message): maxAppendSize: builtins.int = ..., ) -> None: ... def ClearField( - self, field_name: typing_extensions.Literal["maxAppendSize", b"maxAppendSize"] + self, field_name: typing.Literal["maxAppendSize", b"maxAppendSize"] ) -> None: ... global___MaximumAppendSizeExceeded = MaximumAppendSizeExceeded -@typing_extensions.final +@typing.final class BadRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -320,8 +307,6 @@ class BadRequest(google.protobuf.message.Message): *, message: builtins.str = ..., ) -> None: ... - def ClearField( - self, field_name: typing_extensions.Literal["message", b"message"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["message", b"message"]) -> None: ... global___BadRequest = BadRequest diff --git a/esdbclient/protos/Grpc/status_pb2.py b/esdbclient/protos/Grpc/status_pb2.py index 6ba74e4..467e4d6 100644 --- a/esdbclient/protos/Grpc/status_pb2.py +++ b/esdbclient/protos/Grpc/status_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/status.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -22,22 +21,17 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n#esdbclient/protos/Grpc/status.proto\x12\x0e\x65sdbclient.rpc\x1a\x19google/protobuf/any.proto\x1a!esdbclient/protos/Grpc/code.proto"d\n\x06Status\x12"\n\x04\x63ode\x18\x01' - b" \x01(\x0e\x32\x14.esdbclient.rpc.Code\x12\x0f\n\x07message\x18\x02" - b" \x01(\t\x12%\n\x07\x64\x65tails\x18\x03" - b" \x01(\x0b\x32\x14.google.protobuf.AnyBa\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xf8\x01\x01\xa2\x02\x03RPCb\x06proto3" + b'\n#esdbclient/protos/Grpc/status.proto\x12\x0e\x65sdbclient.rpc\x1a\x19google/protobuf/any.proto\x1a!esdbclient/protos/Grpc/code.proto"d\n\x06Status\x12"\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x14.esdbclient.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32\x14.google.protobuf.AnyBa\n\x0e\x63om.google.rpcB\x0bStatusProtoP\x01Z7google.golang.org/genproto/googleapis/rpc/status;status\xf8\x01\x01\xa2\x02\x03RPCb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.status_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.status_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\370\001\001\242\002\003RPC" - ) - _globals["_STATUS"]._serialized_start = 117 - _globals["_STATUS"]._serialized_end = 217 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n\016com.google.rpcB\013StatusProtoP\001Z7google.golang.org/genproto/googleapis/rpc/status;status\370\001\001\242\002\003RPC" + _STATUS._serialized_start = 117 + _STATUS._serialized_end = 217 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/status_pb2.pyi b/esdbclient/protos/Grpc/status_pb2.pyi index 6ab3a86..9cbfd8e 100644 --- a/esdbclient/protos/Grpc/status_pb2.pyi +++ b/esdbclient/protos/Grpc/status_pb2.pyi @@ -15,21 +15,17 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ + import builtins import esdbclient.protos.Grpc.code_pb2 import google.protobuf.any_pb2 import google.protobuf.descriptor import google.protobuf.message -import sys - -if sys.version_info >= (3, 8): - import typing as typing_extensions -else: - import typing_extensions +import typing DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing_extensions.final +@typing.final class Status(google.protobuf.message.Message): """The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is @@ -57,6 +53,7 @@ class Status(google.protobuf.message.Message): """A list of messages that carry the error details. There is a common set of message types for APIs to use. """ + def __init__( self, *, @@ -65,11 +62,11 @@ class Status(google.protobuf.message.Message): details: google.protobuf.any_pb2.Any | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["details", b"details"] + self, field_name: typing.Literal["details", b"details"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "code", b"code", "details", b"details", "message", b"message" ], ) -> None: ... diff --git a/esdbclient/protos/Grpc/streams_pb2.py b/esdbclient/protos/Grpc/streams_pb2.py index 6906d3e..57a8a2c 100644 --- a/esdbclient/protos/Grpc/streams_pb2.py +++ b/esdbclient/protos/Grpc/streams_pb2.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: esdbclient/protos/Grpc/streams.proto -# Protobuf Python Version: 4.25.1 """Generated protocol buffer code.""" from google.protobuf import ( descriptor as _descriptor, @@ -27,252 +26,107 @@ ) DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( - b'\n$esdbclient/protos/Grpc/streams.proto\x12\x1a\x65vent_store.client.streams\x1a#esdbclient/protos/Grpc/shared.proto\x1a#esdbclient/protos/Grpc/status.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xad\x0e\n\x07ReadReq\x12<\n\x07options\x18\x01' - b" \x01(\x0b\x32+.event_store.client.streams.ReadReq.Options\x1a\xe3\r\n\x07Options\x12K\n\x06stream\x18\x01" - b" \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.StreamOptionsH\x00\x12\x45\n\x03\x61ll\x18\x02" - b" \x01(\x0b\x32\x36.event_store.client.streams.ReadReq.Options.AllOptionsH\x00\x12Q\n\x0eread_direction\x18\x03" - b" \x01(\x0e\x32\x39.event_store.client.streams.ReadReq.Options.ReadDirection\x12\x15\n\rresolve_links\x18\x04" - b" \x01(\x08\x12\x0f\n\x05\x63ount\x18\x05" - b" \x01(\x04H\x01\x12W\n\x0csubscription\x18\x06" - b" \x01(\x0b\x32?.event_store.client.streams.ReadReq.Options.SubscriptionOptionsH\x01\x12K\n\x06\x66ilter\x18\x07" - b" \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.FilterOptionsH\x02\x12.\n\tno_filter\x18\x08" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x02\x12K\n\x0buuid_option\x18\t" - b" \x01(\x0b\x32\x36.event_store.client.streams.ReadReq.Options.UUIDOption\x12Q\n\x0e\x63ontrol_option\x18\n" - b" \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.ControlOption\x1a\xcd\x01\n\rStreamOptions\x12?\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02" - b" \x01(\x04H\x00\x12*\n\x05start\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x11\n\x0frevision_option\x1a\xba\x01\n\nAllOptions\x12H\n\x08position\x18\x01" - b" \x01(\x0b\x32\x34.event_store.client.streams.ReadReq.Options.PositionH\x00\x12*\n\x05start\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x0c\n\nall_option\x1a\x15\n\x13SubscriptionOptions\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b" \x01(\x04\x1a\xf0\x02\n\rFilterOptions\x12\x61\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32\x44.event_store.client.streams.ReadReq.Options.FilterOptions.ExpressionH\x00\x12Z\n\nevent_type\x18\x02" - b" \x01(\x0b\x32\x44.event_store.client.streams.ReadReq.Options.FilterOptions.ExpressionH\x00\x12\r\n\x03max\x18\x03" - b" \x01(\rH\x01\x12*\n\x05\x63ount\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12$\n\x1c\x63heckpointIntervalMultiplier\x18\x05" - b" \x01(\r\x1a+\n\nExpression\x12\r\n\x05regex\x18\x01" - b" \x01(\t\x12\x0e\n\x06prefix\x18\x02" - b" \x03(\tB\x08\n\x06\x66ilterB\x08\n\x06window\x1au\n\nUUIDOption\x12/\n\nstructured\x18\x01" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12+\n\x06string\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\t\n\x07\x63ontent\x1a&\n\rControlOption\x12\x15\n\rcompatibility\x18\x01" - b' \x01(\r",\n\rReadDirection\x12\x0c\n\x08\x46orwards\x10\x00\x12\r\n\tBackwards\x10\x01\x42\x0f\n\rstream_optionB\x0e\n\x0c\x63ount_optionB\x0f\n\rfilter_option"\xbb\x0b\n\x08ReadResp\x12?\n\x05\x65vent\x18\x01' - b" \x01(\x0b\x32..event_store.client.streams.ReadResp.ReadEventH\x00\x12U\n\x0c\x63onfirmation\x18\x02" - b" \x01(\x0b\x32=.event_store.client.streams.ReadResp.SubscriptionConfirmationH\x00\x12\x45\n\ncheckpoint\x18\x03" - b" \x01(\x0b\x32/.event_store.client.streams.ReadResp.CheckpointH\x00\x12O\n\x10stream_not_found\x18\x04" - b" \x01(\x0b\x32\x33.event_store.client.streams.ReadResp.StreamNotFoundH\x00\x12\x1f\n\x15\x66irst_stream_position\x18\x05" - b" \x01(\x04H\x00\x12\x1e\n\x14last_stream_position\x18\x06" - b" \x01(\x04H\x00\x12I\n\x18last_all_stream_position\x18\x07" - b" \x01(\x0b\x32%.event_store.client.AllStreamPositionH\x00\x12\x42\n\tcaught_up\x18\x08" - b" \x01(\x0b\x32-.event_store.client.streams.ReadResp.CaughtUpH\x00\x12\x46\n\x0b\x66\x65ll_behind\x18\t" - b" \x01(\x0b\x32/.event_store.client.streams.ReadResp.FellBehindH\x00\x1a\xf8\x04\n\tReadEvent\x12K\n\x05\x65vent\x18\x01" - b" \x01(\x0b\x32<.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent\x12J\n\x04link\x18\x02" - b" \x01(\x0b\x32<.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent\x12\x19\n\x0f\x63ommit_position\x18\x03" - b" \x01(\x04H\x00\x12\x30\n\x0bno_position\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x1a\xf8\x02\n\rRecordedEvent\x12$\n\x02id\x18\x01" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12?\n\x11stream_identifier\x18\x02" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x17\n\x0fstream_revision\x18\x03" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x04" - b" \x01(\x04\x12\x17\n\x0f\x63ommit_position\x18\x05" - b" \x01(\x04\x12\\\n\x08metadata\x18\x06" - b" \x03(\x0b\x32J.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x07" - b" \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x08" - b" \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01" - b" \x01(\t\x12\r\n\x05value\x18\x02" - b" \x01(\t:\x02\x38\x01\x42\n\n\x08position\x1a\x33\n\x18SubscriptionConfirmation\x12\x17\n\x0fsubscription_id\x18\x01" - b" \x01(\t\x1a?\n\nCheckpoint\x12\x17\n\x0f\x63ommit_position\x18\x01" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b" \x01(\x04\x1a\n\n\x08\x43\x61ughtUp\x1a\x0c\n\nFellBehind\x1aQ\n\x0eStreamNotFound\x12?\n\x11stream_identifier\x18\x01" - b' \x01(\x0b\x32$.event_store.client.StreamIdentifierB\t\n\x07\x63ontent"\x9f\x05\n\tAppendReq\x12@\n\x07options\x18\x01' - b" \x01(\x0b\x32-.event_store.client.streams.AppendReq.OptionsH\x00\x12Q\n\x10proposed_message\x18\x02" - b" \x01(\x0b\x32\x35.event_store.client.streams.AppendReq.ProposedMessageH\x00\x1a\x88\x02\n\x07Options\x12?\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02" - b" \x01(\x04H\x00\x12.\n\tno_stream\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x61ny\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x32\n\rstream_exists\x18\x05" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision\x1a\xe6\x01\n\x0fProposedMessage\x12$\n\x02id\x18\x01" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12U\n\x08metadata\x18\x02" - b" \x03(\x0b\x32\x43.event_store.client.streams.AppendReq.ProposedMessage.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x03" - b" \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x04" - b" \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01" - b" \x01(\t\x12\r\n\x05value\x18\x02" - b' \x01(\t:\x02\x38\x01\x42\t\n\x07\x63ontent"\x8d\t\n\nAppendResp\x12\x41\n\x07success\x18\x01' - b" \x01(\x0b\x32..event_store.client.streams.AppendResp.SuccessH\x00\x12]\n\x16wrong_expected_version\x18\x02" - b" \x01(\x0b\x32;.event_store.client.streams.AppendResp.WrongExpectedVersionH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b" \x01(\x04\x1a\xfa\x01\n\x07Success\x12\x1a\n\x10\x63urrent_revision\x18\x01" - b" \x01(\x04H\x00\x12.\n\tno_stream\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x43\n\x08position\x18\x03" - b" \x01(\x0b\x32/.event_store.client.streams.AppendResp.PositionH\x01\x12\x30\n\x0bno_position\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x42\x19\n\x17\x63urrent_revision_optionB\x11\n\x0fposition_option\x1a\x96\x05\n\x14WrongExpectedVersion\x12!\n\x17\x63urrent_revision_20_6_0\x18\x01" - b" \x01(\x04H\x00\x12\x35\n\x10no_stream_20_6_0\x18\x02" - b' \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12"\n\x18\x65xpected_revision_20_6_0\x18\x03' - b" \x01(\x04H\x01\x12/\n\nany_20_6_0\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12\x39\n\x14stream_exists_20_6_0\x18\x05" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12\x1a\n\x10\x63urrent_revision\x18\x06" - b" \x01(\x04H\x02\x12\x36\n\x11\x63urrent_no_stream\x18\x07" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x02\x12\x1b\n\x11\x65xpected_revision\x18\x08" - b" \x01(\x04H\x03\x12\x31\n\x0c\x65xpected_any\x18\t" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x03\x12;\n\x16\x65xpected_stream_exists\x18\n" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x03\x12\x37\n\x12\x65xpected_no_stream\x18\x0b" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x03\x42" - b' \n\x1e\x63urrent_revision_option_20_6_0B!\n\x1f\x65xpected_revision_option_20_6_0B\x19\n\x17\x63urrent_revision_optionB\x1a\n\x18\x65xpected_revision_optionB\x08\n\x06result"\xe1\x06\n\x0e\x42\x61tchAppendReq\x12\x30\n\x0e\x63orrelation_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12\x43\n\x07options\x18\x02" - b" \x01(\x0b\x32\x32.event_store.client.streams.BatchAppendReq.Options\x12U\n\x11proposed_messages\x18\x03" - b" \x03(\x0b\x32:.event_store.client.streams.BatchAppendReq.ProposedMessage\x12\x10\n\x08is_final\x18\x04" - b" \x01(\x08\x1a\x80\x03\n\x07Options\x12?\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x19\n\x0fstream_position\x18\x02" - b" \x01(\x04H\x00\x12+\n\tno_stream\x18\x03" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12%\n\x03\x61ny\x18\x04" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12/\n\rstream_exists\x18\x05" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x36\n\x10\x64\x65\x61\x64line_21_10_0\x18\x06" - b" \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12-\n\x08\x64\x65\x61\x64line\x18\x07" - b" \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x42\x1a\n\x18\x65xpected_stream_positionB\x11\n\x0f\x64\x65\x61\x64line_option\x1a\xeb\x01\n\x0fProposedMessage\x12$\n\x02id\x18\x01" - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12Z\n\x08metadata\x18\x02" - b" \x03(\x0b\x32H.event_store.client.streams.BatchAppendReq.ProposedMessage.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x03" - b" \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x04" - b" \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01" - b" \x01(\t\x12\r\n\x05value\x18\x02" - b' \x01(\t:\x02\x38\x01"\xa8\x05\n\x0f\x42\x61tchAppendResp\x12\x30\n\x0e\x63orrelation_id\x18\x01' - b" \x01(\x0b\x32\x18.event_store.client.UUID\x12'\n\x05\x65rror\x18\x02" - b" \x01(\x0b\x32\x16.esdbclient.rpc.StatusH\x00\x12\x46\n\x07success\x18\x03" - b" \x01(\x0b\x32\x33.event_store.client.streams.BatchAppendResp.SuccessH\x00\x12?\n\x11stream_identifier\x18\x04" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x19\n\x0fstream_position\x18\x05" - b" \x01(\x04H\x01\x12+\n\tno_stream\x18\x06" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12%\n\x03\x61ny\x18\x07" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12/\n\rstream_exists\x18\x08" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\xea\x01\n\x07Success\x12\x1a\n\x10\x63urrent_revision\x18\x01" - b" \x01(\x04H\x00\x12+\n\tno_stream\x18\x02" - b" \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x39\n\x08position\x18\x03" - b" \x01(\x0b\x32%.event_store.client.AllStreamPositionH\x01\x12-\n\x0bno_position\x18\x04" - b' \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x42\x19\n\x17\x63urrent_revision_optionB\x11\n\x0fposition_optionB\x08\n\x06resultB\x1a\n\x18\x65xpected_stream_position"\xd6\x02\n\tDeleteReq\x12>\n\x07options\x18\x01' - b" \x01(\x0b\x32-.event_store.client.streams.DeleteReq.Options\x1a\x88\x02\n\x07Options\x12?\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02" - b" \x01(\x04H\x00\x12.\n\tno_stream\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x61ny\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x32\n\rstream_exists\x18\x05" - b' \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision"\xd5\x01\n\nDeleteResp\x12\x43\n\x08position\x18\x01' - b" \x01(\x0b\x32/.event_store.client.streams.DeleteResp.PositionH\x00\x12\x30\n\x0bno_position\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b' \x01(\x04\x42\x11\n\x0fposition_option"\xdc\x02\n\x0cTombstoneReq\x12\x41\n\x07options\x18\x01' - b" \x01(\x0b\x32\x30.event_store.client.streams.TombstoneReq.Options\x1a\x88\x02\n\x07Options\x12?\n\x11stream_identifier\x18\x01" - b" \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02" - b" \x01(\x04H\x00\x12.\n\tno_stream\x18\x03" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x61ny\x18\x04" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x32\n\rstream_exists\x18\x05" - b' \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision"\xdb\x01\n\rTombstoneResp\x12\x46\n\x08position\x18\x01' - b" \x01(\x0b\x32\x32.event_store.client.streams.TombstoneResp.PositionH\x00\x12\x30\n\x0bno_position\x18\x02" - b" \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01" - b" \x01(\x04\x12\x18\n\x10prepare_position\x18\x02" - b" \x01(\x04\x42\x11\n\x0fposition_option2\xe0\x03\n\x07Streams\x12S\n\x04Read\x12#.event_store.client.streams.ReadReq\x1a$.event_store.client.streams.ReadResp0\x01\x12Y\n\x06\x41ppend\x12%.event_store.client.streams.AppendReq\x1a&.event_store.client.streams.AppendResp(\x01\x12W\n\x06\x44\x65lete\x12%.event_store.client.streams.DeleteReq\x1a&.event_store.client.streams.DeleteResp\x12`\n\tTombstone\x12(.event_store.client.streams.TombstoneReq\x1a).event_store.client.streams.TombstoneResp\x12j\n\x0b\x42\x61tchAppend\x12*.event_store.client.streams.BatchAppendReq\x1a+.event_store.client.streams.BatchAppendResp(\x01\x30\x01\x42'\n%com.eventstore.dbclient.proto.streamsb\x06proto3" + b'\n$esdbclient/protos/Grpc/streams.proto\x12\x1a\x65vent_store.client.streams\x1a#esdbclient/protos/Grpc/shared.proto\x1a#esdbclient/protos/Grpc/status.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xad\x0e\n\x07ReadReq\x12<\n\x07options\x18\x01 \x01(\x0b\x32+.event_store.client.streams.ReadReq.Options\x1a\xe3\r\n\x07Options\x12K\n\x06stream\x18\x01 \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.StreamOptionsH\x00\x12\x45\n\x03\x61ll\x18\x02 \x01(\x0b\x32\x36.event_store.client.streams.ReadReq.Options.AllOptionsH\x00\x12Q\n\x0eread_direction\x18\x03 \x01(\x0e\x32\x39.event_store.client.streams.ReadReq.Options.ReadDirection\x12\x15\n\rresolve_links\x18\x04 \x01(\x08\x12\x0f\n\x05\x63ount\x18\x05 \x01(\x04H\x01\x12W\n\x0csubscription\x18\x06 \x01(\x0b\x32?.event_store.client.streams.ReadReq.Options.SubscriptionOptionsH\x01\x12K\n\x06\x66ilter\x18\x07 \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.FilterOptionsH\x02\x12.\n\tno_filter\x18\x08 \x01(\x0b\x32\x19.event_store.client.EmptyH\x02\x12K\n\x0buuid_option\x18\t \x01(\x0b\x32\x36.event_store.client.streams.ReadReq.Options.UUIDOption\x12Q\n\x0e\x63ontrol_option\x18\n \x01(\x0b\x32\x39.event_store.client.streams.ReadReq.Options.ControlOption\x1a\xcd\x01\n\rStreamOptions\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12*\n\x05start\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x11\n\x0frevision_option\x1a\xba\x01\n\nAllOptions\x12H\n\x08position\x18\x01 \x01(\x0b\x32\x34.event_store.client.streams.ReadReq.Options.PositionH\x00\x12*\n\x05start\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x65nd\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x0c\n\nall_option\x1a\x15\n\x13SubscriptionOptions\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1a\xf0\x02\n\rFilterOptions\x12\x61\n\x11stream_identifier\x18\x01 \x01(\x0b\x32\x44.event_store.client.streams.ReadReq.Options.FilterOptions.ExpressionH\x00\x12Z\n\nevent_type\x18\x02 \x01(\x0b\x32\x44.event_store.client.streams.ReadReq.Options.FilterOptions.ExpressionH\x00\x12\r\n\x03max\x18\x03 \x01(\rH\x01\x12*\n\x05\x63ount\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12$\n\x1c\x63heckpointIntervalMultiplier\x18\x05 \x01(\r\x1a+\n\nExpression\x12\r\n\x05regex\x18\x01 \x01(\t\x12\x0e\n\x06prefix\x18\x02 \x03(\tB\x08\n\x06\x66ilterB\x08\n\x06window\x1au\n\nUUIDOption\x12/\n\nstructured\x18\x01 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12+\n\x06string\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\t\n\x07\x63ontent\x1a&\n\rControlOption\x12\x15\n\rcompatibility\x18\x01 \x01(\r",\n\rReadDirection\x12\x0c\n\x08\x46orwards\x10\x00\x12\r\n\tBackwards\x10\x01\x42\x0f\n\rstream_optionB\x0e\n\x0c\x63ount_optionB\x0f\n\rfilter_option"\xbb\x0b\n\x08ReadResp\x12?\n\x05\x65vent\x18\x01 \x01(\x0b\x32..event_store.client.streams.ReadResp.ReadEventH\x00\x12U\n\x0c\x63onfirmation\x18\x02 \x01(\x0b\x32=.event_store.client.streams.ReadResp.SubscriptionConfirmationH\x00\x12\x45\n\ncheckpoint\x18\x03 \x01(\x0b\x32/.event_store.client.streams.ReadResp.CheckpointH\x00\x12O\n\x10stream_not_found\x18\x04 \x01(\x0b\x32\x33.event_store.client.streams.ReadResp.StreamNotFoundH\x00\x12\x1f\n\x15\x66irst_stream_position\x18\x05 \x01(\x04H\x00\x12\x1e\n\x14last_stream_position\x18\x06 \x01(\x04H\x00\x12I\n\x18last_all_stream_position\x18\x07 \x01(\x0b\x32%.event_store.client.AllStreamPositionH\x00\x12\x42\n\tcaught_up\x18\x08 \x01(\x0b\x32-.event_store.client.streams.ReadResp.CaughtUpH\x00\x12\x46\n\x0b\x66\x65ll_behind\x18\t \x01(\x0b\x32/.event_store.client.streams.ReadResp.FellBehindH\x00\x1a\xf8\x04\n\tReadEvent\x12K\n\x05\x65vent\x18\x01 \x01(\x0b\x32<.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent\x12J\n\x04link\x18\x02 \x01(\x0b\x32<.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent\x12\x19\n\x0f\x63ommit_position\x18\x03 \x01(\x04H\x00\x12\x30\n\x0bno_position\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x1a\xf8\x02\n\rRecordedEvent\x12$\n\x02id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12?\n\x11stream_identifier\x18\x02 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x17\n\x0fstream_revision\x18\x03 \x01(\x04\x12\x18\n\x10prepare_position\x18\x04 \x01(\x04\x12\x17\n\x0f\x63ommit_position\x18\x05 \x01(\x04\x12\\\n\x08metadata\x18\x06 \x03(\x0b\x32J.event_store.client.streams.ReadResp.ReadEvent.RecordedEvent.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x07 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x08 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\n\n\x08position\x1a\x33\n\x18SubscriptionConfirmation\x12\x17\n\x0fsubscription_id\x18\x01 \x01(\t\x1a?\n\nCheckpoint\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1a\n\n\x08\x43\x61ughtUp\x1a\x0c\n\nFellBehind\x1aQ\n\x0eStreamNotFound\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifierB\t\n\x07\x63ontent"\x9f\x05\n\tAppendReq\x12@\n\x07options\x18\x01 \x01(\x0b\x32-.event_store.client.streams.AppendReq.OptionsH\x00\x12Q\n\x10proposed_message\x18\x02 \x01(\x0b\x32\x35.event_store.client.streams.AppendReq.ProposedMessageH\x00\x1a\x88\x02\n\x07Options\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12.\n\tno_stream\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x61ny\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x32\n\rstream_exists\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision\x1a\xe6\x01\n\x0fProposedMessage\x12$\n\x02id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12U\n\x08metadata\x18\x02 \x03(\x0b\x32\x43.event_store.client.streams.AppendReq.ProposedMessage.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x03 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\t\n\x07\x63ontent"\x8d\t\n\nAppendResp\x12\x41\n\x07success\x18\x01 \x01(\x0b\x32..event_store.client.streams.AppendResp.SuccessH\x00\x12]\n\x16wrong_expected_version\x18\x02 \x01(\x0b\x32;.event_store.client.streams.AppendResp.WrongExpectedVersionH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x1a\xfa\x01\n\x07Success\x12\x1a\n\x10\x63urrent_revision\x18\x01 \x01(\x04H\x00\x12.\n\tno_stream\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x43\n\x08position\x18\x03 \x01(\x0b\x32/.event_store.client.streams.AppendResp.PositionH\x01\x12\x30\n\x0bno_position\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x42\x19\n\x17\x63urrent_revision_optionB\x11\n\x0fposition_option\x1a\x96\x05\n\x14WrongExpectedVersion\x12!\n\x17\x63urrent_revision_20_6_0\x18\x01 \x01(\x04H\x00\x12\x35\n\x10no_stream_20_6_0\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12"\n\x18\x65xpected_revision_20_6_0\x18\x03 \x01(\x04H\x01\x12/\n\nany_20_6_0\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12\x39\n\x14stream_exists_20_6_0\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x01\x12\x1a\n\x10\x63urrent_revision\x18\x06 \x01(\x04H\x02\x12\x36\n\x11\x63urrent_no_stream\x18\x07 \x01(\x0b\x32\x19.event_store.client.EmptyH\x02\x12\x1b\n\x11\x65xpected_revision\x18\x08 \x01(\x04H\x03\x12\x31\n\x0c\x65xpected_any\x18\t \x01(\x0b\x32\x19.event_store.client.EmptyH\x03\x12;\n\x16\x65xpected_stream_exists\x18\n \x01(\x0b\x32\x19.event_store.client.EmptyH\x03\x12\x37\n\x12\x65xpected_no_stream\x18\x0b \x01(\x0b\x32\x19.event_store.client.EmptyH\x03\x42 \n\x1e\x63urrent_revision_option_20_6_0B!\n\x1f\x65xpected_revision_option_20_6_0B\x19\n\x17\x63urrent_revision_optionB\x1a\n\x18\x65xpected_revision_optionB\x08\n\x06result"\xe1\x06\n\x0e\x42\x61tchAppendReq\x12\x30\n\x0e\x63orrelation_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\x43\n\x07options\x18\x02 \x01(\x0b\x32\x32.event_store.client.streams.BatchAppendReq.Options\x12U\n\x11proposed_messages\x18\x03 \x03(\x0b\x32:.event_store.client.streams.BatchAppendReq.ProposedMessage\x12\x10\n\x08is_final\x18\x04 \x01(\x08\x1a\x80\x03\n\x07Options\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x19\n\x0fstream_position\x18\x02 \x01(\x04H\x00\x12+\n\tno_stream\x18\x03 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12%\n\x03\x61ny\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12/\n\rstream_exists\x18\x05 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x36\n\x10\x64\x65\x61\x64line_21_10_0\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01\x12-\n\x08\x64\x65\x61\x64line\x18\x07 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x42\x1a\n\x18\x65xpected_stream_positionB\x11\n\x0f\x64\x65\x61\x64line_option\x1a\xeb\x01\n\x0fProposedMessage\x12$\n\x02id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12Z\n\x08metadata\x18\x02 \x03(\x0b\x32H.event_store.client.streams.BatchAppendReq.ProposedMessage.MetadataEntry\x12\x17\n\x0f\x63ustom_metadata\x18\x03 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01"\xa8\x05\n\x0f\x42\x61tchAppendResp\x12\x30\n\x0e\x63orrelation_id\x18\x01 \x01(\x0b\x32\x18.event_store.client.UUID\x12\'\n\x05\x65rror\x18\x02 \x01(\x0b\x32\x16.esdbclient.rpc.StatusH\x00\x12\x46\n\x07success\x18\x03 \x01(\x0b\x32\x33.event_store.client.streams.BatchAppendResp.SuccessH\x00\x12?\n\x11stream_identifier\x18\x04 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x19\n\x0fstream_position\x18\x05 \x01(\x04H\x01\x12+\n\tno_stream\x18\x06 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12%\n\x03\x61ny\x18\x07 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x12/\n\rstream_exists\x18\x08 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x1a\xea\x01\n\x07Success\x12\x1a\n\x10\x63urrent_revision\x18\x01 \x01(\x04H\x00\x12+\n\tno_stream\x18\x02 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x00\x12\x39\n\x08position\x18\x03 \x01(\x0b\x32%.event_store.client.AllStreamPositionH\x01\x12-\n\x0bno_position\x18\x04 \x01(\x0b\x32\x16.google.protobuf.EmptyH\x01\x42\x19\n\x17\x63urrent_revision_optionB\x11\n\x0fposition_optionB\x08\n\x06resultB\x1a\n\x18\x65xpected_stream_position"\xd6\x02\n\tDeleteReq\x12>\n\x07options\x18\x01 \x01(\x0b\x32-.event_store.client.streams.DeleteReq.Options\x1a\x88\x02\n\x07Options\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12.\n\tno_stream\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x61ny\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x32\n\rstream_exists\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision"\xd5\x01\n\nDeleteResp\x12\x43\n\x08position\x18\x01 \x01(\x0b\x32/.event_store.client.streams.DeleteResp.PositionH\x00\x12\x30\n\x0bno_position\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x42\x11\n\x0fposition_option"\xdc\x02\n\x0cTombstoneReq\x12\x41\n\x07options\x18\x01 \x01(\x0b\x32\x30.event_store.client.streams.TombstoneReq.Options\x1a\x88\x02\n\x07Options\x12?\n\x11stream_identifier\x18\x01 \x01(\x0b\x32$.event_store.client.StreamIdentifier\x12\x12\n\x08revision\x18\x02 \x01(\x04H\x00\x12.\n\tno_stream\x18\x03 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12(\n\x03\x61ny\x18\x04 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x12\x32\n\rstream_exists\x18\x05 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x42\x1a\n\x18\x65xpected_stream_revision"\xdb\x01\n\rTombstoneResp\x12\x46\n\x08position\x18\x01 \x01(\x0b\x32\x32.event_store.client.streams.TombstoneResp.PositionH\x00\x12\x30\n\x0bno_position\x18\x02 \x01(\x0b\x32\x19.event_store.client.EmptyH\x00\x1a=\n\x08Position\x12\x17\n\x0f\x63ommit_position\x18\x01 \x01(\x04\x12\x18\n\x10prepare_position\x18\x02 \x01(\x04\x42\x11\n\x0fposition_option2\xe0\x03\n\x07Streams\x12S\n\x04Read\x12#.event_store.client.streams.ReadReq\x1a$.event_store.client.streams.ReadResp0\x01\x12Y\n\x06\x41ppend\x12%.event_store.client.streams.AppendReq\x1a&.event_store.client.streams.AppendResp(\x01\x12W\n\x06\x44\x65lete\x12%.event_store.client.streams.DeleteReq\x1a&.event_store.client.streams.DeleteResp\x12`\n\tTombstone\x12(.event_store.client.streams.TombstoneReq\x1a).event_store.client.streams.TombstoneResp\x12j\n\x0b\x42\x61tchAppend\x12*.event_store.client.streams.BatchAppendReq\x1a+.event_store.client.streams.BatchAppendResp(\x01\x30\x01\x42\'\n%com.eventstore.dbclient.proto.streamsb\x06proto3' ) -_globals = globals() -_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages( - DESCRIPTOR, "esdbclient.protos.Grpc.streams_pb2", _globals + DESCRIPTOR, "esdbclient.protos.Grpc.streams_pb2", globals() ) if _descriptor._USE_C_DESCRIPTORS == False: - _globals["DESCRIPTOR"]._options = None - _globals["DESCRIPTOR"]._serialized_options = ( - b"\n%com.eventstore.dbclient.proto.streams" - ) - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._options = None - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._serialized_options = ( - b"8\001" - ) - _globals["_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._options = None - _globals["_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._serialized_options = b"8\001" - _globals["_BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._options = None - _globals["_BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._serialized_options = ( - b"8\001" - ) - _globals["_READREQ"]._serialized_start = 237 - _globals["_READREQ"]._serialized_end = 2074 - _globals["_READREQ_OPTIONS"]._serialized_start = 311 - _globals["_READREQ_OPTIONS"]._serialized_end = 2074 - _globals["_READREQ_OPTIONS_STREAMOPTIONS"]._serialized_start = 968 - _globals["_READREQ_OPTIONS_STREAMOPTIONS"]._serialized_end = 1173 - _globals["_READREQ_OPTIONS_ALLOPTIONS"]._serialized_start = 1176 - _globals["_READREQ_OPTIONS_ALLOPTIONS"]._serialized_end = 1362 - _globals["_READREQ_OPTIONS_SUBSCRIPTIONOPTIONS"]._serialized_start = 1364 - _globals["_READREQ_OPTIONS_SUBSCRIPTIONOPTIONS"]._serialized_end = 1385 - _globals["_READREQ_OPTIONS_POSITION"]._serialized_start = 1387 - _globals["_READREQ_OPTIONS_POSITION"]._serialized_end = 1448 - _globals["_READREQ_OPTIONS_FILTEROPTIONS"]._serialized_start = 1451 - _globals["_READREQ_OPTIONS_FILTEROPTIONS"]._serialized_end = 1819 - _globals["_READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION"]._serialized_start = 1756 - _globals["_READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION"]._serialized_end = 1799 - _globals["_READREQ_OPTIONS_UUIDOPTION"]._serialized_start = 1821 - _globals["_READREQ_OPTIONS_UUIDOPTION"]._serialized_end = 1938 - _globals["_READREQ_OPTIONS_CONTROLOPTION"]._serialized_start = 1940 - _globals["_READREQ_OPTIONS_CONTROLOPTION"]._serialized_end = 1978 - _globals["_READREQ_OPTIONS_READDIRECTION"]._serialized_start = 1980 - _globals["_READREQ_OPTIONS_READDIRECTION"]._serialized_end = 2024 - _globals["_READRESP"]._serialized_start = 2077 - _globals["_READRESP"]._serialized_end = 3544 - _globals["_READRESP_READEVENT"]._serialized_start = 2674 - _globals["_READRESP_READEVENT"]._serialized_end = 3306 - _globals["_READRESP_READEVENT_RECORDEDEVENT"]._serialized_start = 2918 - _globals["_READRESP_READEVENT_RECORDEDEVENT"]._serialized_end = 3294 - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._serialized_start = 3247 - _globals["_READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY"]._serialized_end = 3294 - _globals["_READRESP_SUBSCRIPTIONCONFIRMATION"]._serialized_start = 3308 - _globals["_READRESP_SUBSCRIPTIONCONFIRMATION"]._serialized_end = 3359 - _globals["_READRESP_CHECKPOINT"]._serialized_start = 3361 - _globals["_READRESP_CHECKPOINT"]._serialized_end = 3424 - _globals["_READRESP_CAUGHTUP"]._serialized_start = 3426 - _globals["_READRESP_CAUGHTUP"]._serialized_end = 3436 - _globals["_READRESP_FELLBEHIND"]._serialized_start = 3438 - _globals["_READRESP_FELLBEHIND"]._serialized_end = 3450 - _globals["_READRESP_STREAMNOTFOUND"]._serialized_start = 3452 - _globals["_READRESP_STREAMNOTFOUND"]._serialized_end = 3533 - _globals["_APPENDREQ"]._serialized_start = 3547 - _globals["_APPENDREQ"]._serialized_end = 4218 - _globals["_APPENDREQ_OPTIONS"]._serialized_start = 3710 - _globals["_APPENDREQ_OPTIONS"]._serialized_end = 3974 - _globals["_APPENDREQ_PROPOSEDMESSAGE"]._serialized_start = 3977 - _globals["_APPENDREQ_PROPOSEDMESSAGE"]._serialized_end = 4207 - _globals["_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._serialized_start = 3247 - _globals["_APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._serialized_end = 3294 - _globals["_APPENDRESP"]._serialized_start = 4221 - _globals["_APPENDRESP"]._serialized_end = 5386 - _globals["_APPENDRESP_POSITION"]._serialized_start = 1387 - _globals["_APPENDRESP_POSITION"]._serialized_end = 1448 - _globals["_APPENDRESP_SUCCESS"]._serialized_start = 4461 - _globals["_APPENDRESP_SUCCESS"]._serialized_end = 4711 - _globals["_APPENDRESP_WRONGEXPECTEDVERSION"]._serialized_start = 4714 - _globals["_APPENDRESP_WRONGEXPECTEDVERSION"]._serialized_end = 5376 - _globals["_BATCHAPPENDREQ"]._serialized_start = 5389 - _globals["_BATCHAPPENDREQ"]._serialized_end = 6254 - _globals["_BATCHAPPENDREQ_OPTIONS"]._serialized_start = 5632 - _globals["_BATCHAPPENDREQ_OPTIONS"]._serialized_end = 6016 - _globals["_BATCHAPPENDREQ_PROPOSEDMESSAGE"]._serialized_start = 6019 - _globals["_BATCHAPPENDREQ_PROPOSEDMESSAGE"]._serialized_end = 6254 - _globals["_BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._serialized_start = 3247 - _globals["_BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY"]._serialized_end = 3294 - _globals["_BATCHAPPENDRESP"]._serialized_start = 6257 - _globals["_BATCHAPPENDRESP"]._serialized_end = 6937 - _globals["_BATCHAPPENDRESP_SUCCESS"]._serialized_start = 6665 - _globals["_BATCHAPPENDRESP_SUCCESS"]._serialized_end = 6899 - _globals["_DELETEREQ"]._serialized_start = 6940 - _globals["_DELETEREQ"]._serialized_end = 7282 - _globals["_DELETEREQ_OPTIONS"]._serialized_start = 3710 - _globals["_DELETEREQ_OPTIONS"]._serialized_end = 3974 - _globals["_DELETERESP"]._serialized_start = 7285 - _globals["_DELETERESP"]._serialized_end = 7498 - _globals["_DELETERESP_POSITION"]._serialized_start = 1387 - _globals["_DELETERESP_POSITION"]._serialized_end = 1448 - _globals["_TOMBSTONEREQ"]._serialized_start = 7501 - _globals["_TOMBSTONEREQ"]._serialized_end = 7849 - _globals["_TOMBSTONEREQ_OPTIONS"]._serialized_start = 3710 - _globals["_TOMBSTONEREQ_OPTIONS"]._serialized_end = 3974 - _globals["_TOMBSTONERESP"]._serialized_start = 7852 - _globals["_TOMBSTONERESP"]._serialized_end = 8071 - _globals["_TOMBSTONERESP_POSITION"]._serialized_start = 1387 - _globals["_TOMBSTONERESP_POSITION"]._serialized_end = 1448 - _globals["_STREAMS"]._serialized_start = 8074 - _globals["_STREAMS"]._serialized_end = 8554 + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b"\n%com.eventstore.dbclient.proto.streams" + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._options = None + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._serialized_options = b"8\001" + _APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._options = None + _APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._serialized_options = b"8\001" + _BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._options = None + _BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._serialized_options = b"8\001" + _READREQ._serialized_start = 237 + _READREQ._serialized_end = 2074 + _READREQ_OPTIONS._serialized_start = 311 + _READREQ_OPTIONS._serialized_end = 2074 + _READREQ_OPTIONS_STREAMOPTIONS._serialized_start = 968 + _READREQ_OPTIONS_STREAMOPTIONS._serialized_end = 1173 + _READREQ_OPTIONS_ALLOPTIONS._serialized_start = 1176 + _READREQ_OPTIONS_ALLOPTIONS._serialized_end = 1362 + _READREQ_OPTIONS_SUBSCRIPTIONOPTIONS._serialized_start = 1364 + _READREQ_OPTIONS_SUBSCRIPTIONOPTIONS._serialized_end = 1385 + _READREQ_OPTIONS_POSITION._serialized_start = 1387 + _READREQ_OPTIONS_POSITION._serialized_end = 1448 + _READREQ_OPTIONS_FILTEROPTIONS._serialized_start = 1451 + _READREQ_OPTIONS_FILTEROPTIONS._serialized_end = 1819 + _READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION._serialized_start = 1756 + _READREQ_OPTIONS_FILTEROPTIONS_EXPRESSION._serialized_end = 1799 + _READREQ_OPTIONS_UUIDOPTION._serialized_start = 1821 + _READREQ_OPTIONS_UUIDOPTION._serialized_end = 1938 + _READREQ_OPTIONS_CONTROLOPTION._serialized_start = 1940 + _READREQ_OPTIONS_CONTROLOPTION._serialized_end = 1978 + _READREQ_OPTIONS_READDIRECTION._serialized_start = 1980 + _READREQ_OPTIONS_READDIRECTION._serialized_end = 2024 + _READRESP._serialized_start = 2077 + _READRESP._serialized_end = 3544 + _READRESP_READEVENT._serialized_start = 2674 + _READRESP_READEVENT._serialized_end = 3306 + _READRESP_READEVENT_RECORDEDEVENT._serialized_start = 2918 + _READRESP_READEVENT_RECORDEDEVENT._serialized_end = 3294 + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._serialized_start = 3247 + _READRESP_READEVENT_RECORDEDEVENT_METADATAENTRY._serialized_end = 3294 + _READRESP_SUBSCRIPTIONCONFIRMATION._serialized_start = 3308 + _READRESP_SUBSCRIPTIONCONFIRMATION._serialized_end = 3359 + _READRESP_CHECKPOINT._serialized_start = 3361 + _READRESP_CHECKPOINT._serialized_end = 3424 + _READRESP_CAUGHTUP._serialized_start = 3426 + _READRESP_CAUGHTUP._serialized_end = 3436 + _READRESP_FELLBEHIND._serialized_start = 3438 + _READRESP_FELLBEHIND._serialized_end = 3450 + _READRESP_STREAMNOTFOUND._serialized_start = 3452 + _READRESP_STREAMNOTFOUND._serialized_end = 3533 + _APPENDREQ._serialized_start = 3547 + _APPENDREQ._serialized_end = 4218 + _APPENDREQ_OPTIONS._serialized_start = 3710 + _APPENDREQ_OPTIONS._serialized_end = 3974 + _APPENDREQ_PROPOSEDMESSAGE._serialized_start = 3977 + _APPENDREQ_PROPOSEDMESSAGE._serialized_end = 4207 + _APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._serialized_start = 3247 + _APPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._serialized_end = 3294 + _APPENDRESP._serialized_start = 4221 + _APPENDRESP._serialized_end = 5386 + _APPENDRESP_POSITION._serialized_start = 1387 + _APPENDRESP_POSITION._serialized_end = 1448 + _APPENDRESP_SUCCESS._serialized_start = 4461 + _APPENDRESP_SUCCESS._serialized_end = 4711 + _APPENDRESP_WRONGEXPECTEDVERSION._serialized_start = 4714 + _APPENDRESP_WRONGEXPECTEDVERSION._serialized_end = 5376 + _BATCHAPPENDREQ._serialized_start = 5389 + _BATCHAPPENDREQ._serialized_end = 6254 + _BATCHAPPENDREQ_OPTIONS._serialized_start = 5632 + _BATCHAPPENDREQ_OPTIONS._serialized_end = 6016 + _BATCHAPPENDREQ_PROPOSEDMESSAGE._serialized_start = 6019 + _BATCHAPPENDREQ_PROPOSEDMESSAGE._serialized_end = 6254 + _BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._serialized_start = 3247 + _BATCHAPPENDREQ_PROPOSEDMESSAGE_METADATAENTRY._serialized_end = 3294 + _BATCHAPPENDRESP._serialized_start = 6257 + _BATCHAPPENDRESP._serialized_end = 6937 + _BATCHAPPENDRESP_SUCCESS._serialized_start = 6665 + _BATCHAPPENDRESP_SUCCESS._serialized_end = 6899 + _DELETEREQ._serialized_start = 6940 + _DELETEREQ._serialized_end = 7282 + _DELETEREQ_OPTIONS._serialized_start = 3710 + _DELETEREQ_OPTIONS._serialized_end = 3974 + _DELETERESP._serialized_start = 7285 + _DELETERESP._serialized_end = 7498 + _DELETERESP_POSITION._serialized_start = 1387 + _DELETERESP_POSITION._serialized_end = 1448 + _TOMBSTONEREQ._serialized_start = 7501 + _TOMBSTONEREQ._serialized_end = 7849 + _TOMBSTONEREQ_OPTIONS._serialized_start = 3710 + _TOMBSTONEREQ_OPTIONS._serialized_end = 3974 + _TOMBSTONERESP._serialized_start = 7852 + _TOMBSTONERESP._serialized_end = 8071 + _TOMBSTONERESP_POSITION._serialized_start = 1387 + _TOMBSTONERESP_POSITION._serialized_end = 1448 + _STREAMS._serialized_start = 8074 + _STREAMS._serialized_end = 8554 # @@protoc_insertion_point(module_scope) diff --git a/esdbclient/protos/Grpc/streams_pb2.pyi b/esdbclient/protos/Grpc/streams_pb2.pyi index 726f4a1..690a986 100644 --- a/esdbclient/protos/Grpc/streams_pb2.pyi +++ b/esdbclient/protos/Grpc/streams_pb2.pyi @@ -2,6 +2,7 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ + import builtins import collections.abc import esdbclient.protos.Grpc.shared_pb2 @@ -23,11 +24,11 @@ else: DESCRIPTOR: google.protobuf.descriptor.FileDescriptor -@typing_extensions.final +@typing.final class ReadReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -40,7 +41,7 @@ class ReadReq(google.protobuf.message.Message): ReadReq.Options._ReadDirection.ValueType ], builtins.type, - ): # noqa: F821 + ): DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor Forwards: ReadReq.Options._ReadDirection.ValueType # 0 Backwards: ReadReq.Options._ReadDirection.ValueType # 1 @@ -51,7 +52,7 @@ class ReadReq(google.protobuf.message.Message): Forwards: ReadReq.Options.ReadDirection.ValueType # 0 Backwards: ReadReq.Options.ReadDirection.ValueType # 1 - @typing_extensions.final + @typing.final class StreamOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -59,11 +60,11 @@ class ReadReq(google.protobuf.message.Message): REVISION_FIELD_NUMBER: builtins.int START_FIELD_NUMBER: builtins.int END_FIELD_NUMBER: builtins.int + revision: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - revision: builtins.int @property def start(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property @@ -71,15 +72,16 @@ class ReadReq(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., revision: builtins.int = ..., start: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., end: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end", b"end", "revision", @@ -94,7 +96,7 @@ class ReadReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "end", b"end", "revision", @@ -108,13 +110,10 @@ class ReadReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "revision_option", b"revision_option" - ], - ) -> typing_extensions.Literal["revision", "start", "end"] | None: ... + self, oneof_group: typing.Literal["revision_option", b"revision_option"] + ) -> typing.Literal["revision", "start", "end"] | None: ... - @typing_extensions.final + @typing.final class AllOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -136,7 +135,7 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all_option", b"all_option", "end", @@ -149,7 +148,7 @@ class ReadReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all_option", b"all_option", "end", @@ -161,11 +160,10 @@ class ReadReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["all_option", b"all_option"], - ) -> typing_extensions.Literal["position", "start", "end"] | None: ... + self, oneof_group: typing.Literal["all_option", b"all_option"] + ) -> typing.Literal["position", "start", "end"] | None: ... - @typing_extensions.final + @typing.final class SubscriptionOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -173,7 +171,7 @@ class ReadReq(google.protobuf.message.Message): self, ) -> None: ... - @typing_extensions.final + @typing.final class Position(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -189,7 +187,7 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -197,11 +195,11 @@ class ReadReq(google.protobuf.message.Message): ], ) -> None: ... - @typing_extensions.final + @typing.final class FilterOptions(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Expression(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -222,9 +220,7 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ - "prefix", b"prefix", "regex", b"regex" - ], + field_name: typing.Literal["prefix", b"prefix", "regex", b"regex"], ) -> None: ... STREAM_IDENTIFIER_FIELD_NUMBER: builtins.int @@ -232,6 +228,8 @@ class ReadReq(google.protobuf.message.Message): MAX_FIELD_NUMBER: builtins.int COUNT_FIELD_NUMBER: builtins.int CHECKPOINTINTERVALMULTIPLIER_FIELD_NUMBER: builtins.int + max: builtins.int + checkpointIntervalMultiplier: builtins.int @property def stream_identifier( self, @@ -240,24 +238,24 @@ class ReadReq(google.protobuf.message.Message): def event_type( self, ) -> global___ReadReq.Options.FilterOptions.Expression: ... - max: builtins.int @property def count(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - checkpointIntervalMultiplier: builtins.int def __init__( self, *, - stream_identifier: global___ReadReq.Options.FilterOptions.Expression - | None = ..., - event_type: global___ReadReq.Options.FilterOptions.Expression - | None = ..., + stream_identifier: ( + global___ReadReq.Options.FilterOptions.Expression | None + ) = ..., + event_type: ( + global___ReadReq.Options.FilterOptions.Expression | None + ) = ..., max: builtins.int = ..., count: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., checkpointIntervalMultiplier: builtins.int = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "count", b"count", "event_type", @@ -274,7 +272,7 @@ class ReadReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "checkpointIntervalMultiplier", b"checkpointIntervalMultiplier", "count", @@ -293,16 +291,14 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["filter", b"filter"] - ) -> ( - typing_extensions.Literal["stream_identifier", "event_type"] | None - ): ... + self, oneof_group: typing.Literal["filter", b"filter"] + ) -> typing.Literal["stream_identifier", "event_type"] | None: ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["window", b"window"] - ) -> typing_extensions.Literal["max", "count"] | None: ... + self, oneof_group: typing.Literal["window", b"window"] + ) -> typing.Literal["max", "count"] | None: ... - @typing_extensions.final + @typing.final class UUIDOption(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -320,7 +316,7 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "string", @@ -331,7 +327,7 @@ class ReadReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "string", @@ -341,10 +337,10 @@ class ReadReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["content", b"content"] - ) -> typing_extensions.Literal["structured", "string"] | None: ... + self, oneof_group: typing.Literal["content", b"content"] + ) -> typing.Literal["structured", "string"] | None: ... - @typing_extensions.final + @typing.final class ControlOption(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -356,10 +352,7 @@ class ReadReq(google.protobuf.message.Message): compatibility: builtins.int = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "compatibility", b"compatibility" - ], + self, field_name: typing.Literal["compatibility", b"compatibility"] ) -> None: ... STREAM_FIELD_NUMBER: builtins.int @@ -372,13 +365,13 @@ class ReadReq(google.protobuf.message.Message): NO_FILTER_FIELD_NUMBER: builtins.int UUID_OPTION_FIELD_NUMBER: builtins.int CONTROL_OPTION_FIELD_NUMBER: builtins.int + read_direction: global___ReadReq.Options.ReadDirection.ValueType + resolve_links: builtins.bool + count: builtins.int @property def stream(self) -> global___ReadReq.Options.StreamOptions: ... @property def all(self) -> global___ReadReq.Options.AllOptions: ... - read_direction: global___ReadReq.Options.ReadDirection.ValueType - resolve_links: builtins.bool - count: builtins.int @property def subscription(self) -> global___ReadReq.Options.SubscriptionOptions: ... @property @@ -405,7 +398,7 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "control_option", @@ -432,7 +425,7 @@ class ReadReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "all", b"all", "control_option", @@ -463,19 +456,16 @@ class ReadReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal["count_option", b"count_option"], - ) -> typing_extensions.Literal["count", "subscription"] | None: ... + self, oneof_group: typing.Literal["count_option", b"count_option"] + ) -> typing.Literal["count", "subscription"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal["filter_option", b"filter_option"], - ) -> typing_extensions.Literal["filter", "no_filter"] | None: ... + self, oneof_group: typing.Literal["filter_option", b"filter_option"] + ) -> typing.Literal["filter", "no_filter"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal["stream_option", b"stream_option"], - ) -> typing_extensions.Literal["stream", "all"] | None: ... + self, oneof_group: typing.Literal["stream_option", b"stream_option"] + ) -> typing.Literal["stream", "all"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -486,27 +476,25 @@ class ReadReq(google.protobuf.message.Message): options: global___ReadReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___ReadReq = ReadReq -@typing_extensions.final +@typing.final class ReadResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class ReadEvent(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class RecordedEvent(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -521,10 +509,7 @@ class ReadResp(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "key", b"key", "value", b"value" - ], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ID_FIELD_NUMBER: builtins.int @@ -535,46 +520,48 @@ class ReadResp(google.protobuf.message.Message): METADATA_FIELD_NUMBER: builtins.int CUSTOM_METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int + stream_revision: builtins.int + prepare_position: builtins.int + commit_position: builtins.int + custom_metadata: builtins.bytes + data: builtins.bytes @property def id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - stream_revision: builtins.int - prepare_position: builtins.int - commit_position: builtins.int @property def metadata( self, ) -> google.protobuf.internal.containers.ScalarMap[ builtins.str, builtins.str ]: ... - custom_metadata: builtins.bytes - data: builtins.bytes def __init__( self, *, id: esdbclient.protos.Grpc.shared_pb2.UUID | None = ..., - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., stream_revision: builtins.int = ..., prepare_position: builtins.int = ..., commit_position: builtins.int = ..., - metadata: collections.abc.Mapping[builtins.str, builtins.str] - | None = ..., + metadata: ( + collections.abc.Mapping[builtins.str, builtins.str] | None + ) = ..., custom_metadata: builtins.bytes = ..., data: builtins.bytes = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "id", b"id", "stream_identifier", b"stream_identifier" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "custom_metadata", @@ -598,11 +585,11 @@ class ReadResp(google.protobuf.message.Message): LINK_FIELD_NUMBER: builtins.int COMMIT_POSITION_FIELD_NUMBER: builtins.int NO_POSITION_FIELD_NUMBER: builtins.int + commit_position: builtins.int @property def event(self) -> global___ReadResp.ReadEvent.RecordedEvent: ... @property def link(self) -> global___ReadResp.ReadEvent.RecordedEvent: ... - commit_position: builtins.int @property def no_position(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... def __init__( @@ -615,7 +602,7 @@ class ReadResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "event", @@ -630,7 +617,7 @@ class ReadResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "event", @@ -644,10 +631,10 @@ class ReadResp(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["position", b"position"] - ) -> typing_extensions.Literal["commit_position", "no_position"] | None: ... + self, oneof_group: typing.Literal["position", b"position"] + ) -> typing.Literal["commit_position", "no_position"] | None: ... - @typing_extensions.final + @typing.final class SubscriptionConfirmation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -659,13 +646,10 @@ class ReadResp(google.protobuf.message.Message): subscription_id: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "subscription_id", b"subscription_id" - ], + self, field_name: typing.Literal["subscription_id", b"subscription_id"] ) -> None: ... - @typing_extensions.final + @typing.final class Checkpoint(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -681,7 +665,7 @@ class ReadResp(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -689,7 +673,7 @@ class ReadResp(google.protobuf.message.Message): ], ) -> None: ... - @typing_extensions.final + @typing.final class CaughtUp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -697,7 +681,7 @@ class ReadResp(google.protobuf.message.Message): self, ) -> None: ... - @typing_extensions.final + @typing.final class FellBehind(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -705,7 +689,7 @@ class ReadResp(google.protobuf.message.Message): self, ) -> None: ... - @typing_extensions.final + @typing.final class StreamNotFound(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -717,20 +701,15 @@ class ReadResp(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., ) -> None: ... def HasField( - self, - field_name: typing_extensions.Literal[ - "stream_identifier", b"stream_identifier" - ], + self, field_name: typing.Literal["stream_identifier", b"stream_identifier"] ) -> builtins.bool: ... def ClearField( - self, - field_name: typing_extensions.Literal[ - "stream_identifier", b"stream_identifier" - ], + self, field_name: typing.Literal["stream_identifier", b"stream_identifier"] ) -> None: ... EVENT_FIELD_NUMBER: builtins.int @@ -742,6 +721,8 @@ class ReadResp(google.protobuf.message.Message): LAST_ALL_STREAM_POSITION_FIELD_NUMBER: builtins.int CAUGHT_UP_FIELD_NUMBER: builtins.int FELL_BEHIND_FIELD_NUMBER: builtins.int + first_stream_position: builtins.int + last_stream_position: builtins.int @property def event(self) -> global___ReadResp.ReadEvent: ... @property @@ -750,8 +731,6 @@ class ReadResp(google.protobuf.message.Message): def checkpoint(self) -> global___ReadResp.Checkpoint: ... @property def stream_not_found(self) -> global___ReadResp.StreamNotFound: ... - first_stream_position: builtins.int - last_stream_position: builtins.int @property def last_all_stream_position( self, @@ -769,14 +748,15 @@ class ReadResp(google.protobuf.message.Message): stream_not_found: global___ReadResp.StreamNotFound | None = ..., first_stream_position: builtins.int = ..., last_stream_position: builtins.int = ..., - last_all_stream_position: esdbclient.protos.Grpc.shared_pb2.AllStreamPosition - | None = ..., + last_all_stream_position: ( + esdbclient.protos.Grpc.shared_pb2.AllStreamPosition | None + ) = ..., caught_up: global___ReadResp.CaughtUp | None = ..., fell_behind: global___ReadResp.FellBehind | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "caught_up", b"caught_up", "checkpoint", @@ -801,7 +781,7 @@ class ReadResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "caught_up", b"caught_up", "checkpoint", @@ -824,10 +804,8 @@ class ReadResp(google.protobuf.message.Message): b"stream_not_found", ], ) -> None: ... - def WhichOneof( - self, oneof_group: typing_extensions.Literal["content", b"content"] - ) -> ( - typing_extensions.Literal[ + def WhichOneof(self, oneof_group: typing.Literal["content", b"content"]) -> ( + typing.Literal[ "event", "confirmation", "checkpoint", @@ -843,11 +821,11 @@ class ReadResp(google.protobuf.message.Message): global___ReadResp = ReadResp -@typing_extensions.final +@typing.final class AppendReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -856,11 +834,11 @@ class AppendReq(google.protobuf.message.Message): NO_STREAM_FIELD_NUMBER: builtins.int ANY_FIELD_NUMBER: builtins.int STREAM_EXISTS_FIELD_NUMBER: builtins.int + revision: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - revision: builtins.int @property def no_stream(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property @@ -870,8 +848,9 @@ class AppendReq(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., revision: builtins.int = ..., no_stream: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., any: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., @@ -879,7 +858,7 @@ class AppendReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "expected_stream_revision", @@ -896,7 +875,7 @@ class AppendReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "expected_stream_revision", @@ -913,19 +892,16 @@ class AppendReq(google.protobuf.message.Message): ) -> None: ... def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_stream_revision", b"expected_stream_revision" ], - ) -> ( - typing_extensions.Literal["revision", "no_stream", "any", "stream_exists"] - | None - ): ... + ) -> typing.Literal["revision", "no_stream", "any", "stream_exists"] | None: ... - @typing_extensions.final + @typing.final class ProposedMessage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -940,14 +916,15 @@ class AppendReq(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ID_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int CUSTOM_METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int + custom_metadata: builtins.bytes + data: builtins.bytes @property def id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property @@ -956,8 +933,6 @@ class AppendReq(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.ScalarMap[ builtins.str, builtins.str ]: ... - custom_metadata: builtins.bytes - data: builtins.bytes def __init__( self, *, @@ -967,11 +942,11 @@ class AppendReq(google.protobuf.message.Message): data: builtins.bytes = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["id", b"id"] + self, field_name: typing.Literal["id", b"id"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "custom_metadata", b"custom_metadata", "data", @@ -997,7 +972,7 @@ class AppendReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "options", @@ -1008,7 +983,7 @@ class AppendReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "content", b"content", "options", @@ -1018,16 +993,16 @@ class AppendReq(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["content", b"content"] - ) -> typing_extensions.Literal["options", "proposed_message"] | None: ... + self, oneof_group: typing.Literal["content", b"content"] + ) -> typing.Literal["options", "proposed_message"] | None: ... global___AppendReq = AppendReq -@typing_extensions.final +@typing.final class AppendResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Position(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1043,7 +1018,7 @@ class AppendResp(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -1051,7 +1026,7 @@ class AppendResp(google.protobuf.message.Message): ], ) -> None: ... - @typing_extensions.final + @typing.final class Success(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1076,7 +1051,7 @@ class AppendResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_revision", b"current_revision", "current_revision_option", @@ -1093,7 +1068,7 @@ class AppendResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_revision", b"current_revision", "current_revision_option", @@ -1111,19 +1086,16 @@ class AppendResp(google.protobuf.message.Message): @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "current_revision_option", b"current_revision_option" ], - ) -> typing_extensions.Literal["current_revision", "no_stream"] | None: ... + ) -> typing.Literal["current_revision", "no_stream"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "position_option", b"position_option" - ], - ) -> typing_extensions.Literal["position", "no_position"] | None: ... + self, oneof_group: typing.Literal["position_option", b"position_option"] + ) -> typing.Literal["position", "no_position"] | None: ... - @typing_extensions.final + @typing.final class WrongExpectedVersion(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1139,17 +1111,17 @@ class AppendResp(google.protobuf.message.Message): EXPECTED_STREAM_EXISTS_FIELD_NUMBER: builtins.int EXPECTED_NO_STREAM_FIELD_NUMBER: builtins.int current_revision_20_6_0: builtins.int + expected_revision_20_6_0: builtins.int + current_revision: builtins.int + expected_revision: builtins.int @property def no_stream_20_6_0(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - expected_revision_20_6_0: builtins.int @property def any_20_6_0(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property def stream_exists_20_6_0(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - current_revision: builtins.int @property def current_no_stream(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... - expected_revision: builtins.int @property def expected_any(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property @@ -1168,13 +1140,14 @@ class AppendResp(google.protobuf.message.Message): current_no_stream: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., expected_revision: builtins.int = ..., expected_any: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., - expected_stream_exists: esdbclient.protos.Grpc.shared_pb2.Empty - | None = ..., + expected_stream_exists: ( + esdbclient.protos.Grpc.shared_pb2.Empty | None + ) = ..., expected_no_stream: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any_20_6_0", b"any_20_6_0", "current_no_stream", @@ -1209,7 +1182,7 @@ class AppendResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any_20_6_0", b"any_20_6_0", "current_no_stream", @@ -1245,30 +1218,25 @@ class AppendResp(google.protobuf.message.Message): @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "current_revision_option", b"current_revision_option" ], - ) -> ( - typing_extensions.Literal["current_revision", "current_no_stream"] | None - ): ... + ) -> typing.Literal["current_revision", "current_no_stream"] | None: ... @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "current_revision_option_20_6_0", b"current_revision_option_20_6_0" ], - ) -> ( - typing_extensions.Literal["current_revision_20_6_0", "no_stream_20_6_0"] - | None - ): ... + ) -> typing.Literal["current_revision_20_6_0", "no_stream_20_6_0"] | None: ... @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_revision_option", b"expected_revision_option" ], ) -> ( - typing_extensions.Literal[ + typing.Literal[ "expected_revision", "expected_any", "expected_stream_exists", @@ -1279,11 +1247,11 @@ class AppendResp(google.protobuf.message.Message): @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_revision_option_20_6_0", b"expected_revision_option_20_6_0" ], ) -> ( - typing_extensions.Literal[ + typing.Literal[ "expected_revision_20_6_0", "any_20_6_0", "stream_exists_20_6_0" ] | None @@ -1303,7 +1271,7 @@ class AppendResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "result", b"result", "success", @@ -1314,7 +1282,7 @@ class AppendResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "result", b"result", "success", @@ -1324,16 +1292,16 @@ class AppendResp(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, oneof_group: typing_extensions.Literal["result", b"result"] - ) -> typing_extensions.Literal["success", "wrong_expected_version"] | None: ... + self, oneof_group: typing.Literal["result", b"result"] + ) -> typing.Literal["success", "wrong_expected_version"] | None: ... global___AppendResp = AppendResp -@typing_extensions.final +@typing.final class BatchAppendReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1344,11 +1312,11 @@ class BatchAppendReq(google.protobuf.message.Message): STREAM_EXISTS_FIELD_NUMBER: builtins.int DEADLINE_21_10_0_FIELD_NUMBER: builtins.int DEADLINE_FIELD_NUMBER: builtins.int + stream_position: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - stream_position: builtins.int @property def no_stream(self) -> google.protobuf.empty_pb2.Empty: ... @property @@ -1362,8 +1330,9 @@ class BatchAppendReq(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., stream_position: builtins.int = ..., no_stream: google.protobuf.empty_pb2.Empty | None = ..., any: google.protobuf.empty_pb2.Empty | None = ..., @@ -1373,7 +1342,7 @@ class BatchAppendReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "deadline", @@ -1396,7 +1365,7 @@ class BatchAppendReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "deadline", @@ -1419,29 +1388,24 @@ class BatchAppendReq(google.protobuf.message.Message): ) -> None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "deadline_option", b"deadline_option" - ], - ) -> typing_extensions.Literal["deadline_21_10_0", "deadline"] | None: ... + self, oneof_group: typing.Literal["deadline_option", b"deadline_option"] + ) -> typing.Literal["deadline_21_10_0", "deadline"] | None: ... @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_stream_position", b"expected_stream_position" ], ) -> ( - typing_extensions.Literal[ - "stream_position", "no_stream", "any", "stream_exists" - ] + typing.Literal["stream_position", "no_stream", "any", "stream_exists"] | None ): ... - @typing_extensions.final + @typing.final class ProposedMessage(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class MetadataEntry(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1456,14 +1420,15 @@ class BatchAppendReq(google.protobuf.message.Message): value: builtins.str = ..., ) -> None: ... def ClearField( - self, - field_name: typing_extensions.Literal["key", b"key", "value", b"value"], + self, field_name: typing.Literal["key", b"key", "value", b"value"] ) -> None: ... ID_FIELD_NUMBER: builtins.int METADATA_FIELD_NUMBER: builtins.int CUSTOM_METADATA_FIELD_NUMBER: builtins.int DATA_FIELD_NUMBER: builtins.int + custom_metadata: builtins.bytes + data: builtins.bytes @property def id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property @@ -1472,8 +1437,6 @@ class BatchAppendReq(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.ScalarMap[ builtins.str, builtins.str ]: ... - custom_metadata: builtins.bytes - data: builtins.bytes def __init__( self, *, @@ -1483,11 +1446,11 @@ class BatchAppendReq(google.protobuf.message.Message): data: builtins.bytes = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["id", b"id"] + self, field_name: typing.Literal["id", b"id"] ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "custom_metadata", b"custom_metadata", "data", @@ -1503,6 +1466,7 @@ class BatchAppendReq(google.protobuf.message.Message): OPTIONS_FIELD_NUMBER: builtins.int PROPOSED_MESSAGES_FIELD_NUMBER: builtins.int IS_FINAL_FIELD_NUMBER: builtins.int + is_final: builtins.bool @property def correlation_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property @@ -1513,27 +1477,25 @@ class BatchAppendReq(google.protobuf.message.Message): ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ global___BatchAppendReq.ProposedMessage ]: ... - is_final: builtins.bool def __init__( self, *, correlation_id: esdbclient.protos.Grpc.shared_pb2.UUID | None = ..., options: global___BatchAppendReq.Options | None = ..., - proposed_messages: collections.abc.Iterable[ - global___BatchAppendReq.ProposedMessage - ] - | None = ..., + proposed_messages: ( + collections.abc.Iterable[global___BatchAppendReq.ProposedMessage] | None + ) = ..., is_final: builtins.bool = ..., ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "correlation_id", b"correlation_id", "options", b"options" ], ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "correlation_id", b"correlation_id", "is_final", @@ -1547,11 +1509,11 @@ class BatchAppendReq(google.protobuf.message.Message): global___BatchAppendReq = BatchAppendReq -@typing_extensions.final +@typing.final class BatchAppendResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Success(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1576,7 +1538,7 @@ class BatchAppendResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_revision", b"current_revision", "current_revision_option", @@ -1593,7 +1555,7 @@ class BatchAppendResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "current_revision", b"current_revision", "current_revision_option", @@ -1611,17 +1573,14 @@ class BatchAppendResp(google.protobuf.message.Message): @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "current_revision_option", b"current_revision_option" ], - ) -> typing_extensions.Literal["current_revision", "no_stream"] | None: ... + ) -> typing.Literal["current_revision", "no_stream"] | None: ... @typing.overload def WhichOneof( - self, - oneof_group: typing_extensions.Literal[ - "position_option", b"position_option" - ], - ) -> typing_extensions.Literal["position", "no_position"] | None: ... + self, oneof_group: typing.Literal["position_option", b"position_option"] + ) -> typing.Literal["position", "no_position"] | None: ... CORRELATION_ID_FIELD_NUMBER: builtins.int ERROR_FIELD_NUMBER: builtins.int @@ -1631,6 +1590,7 @@ class BatchAppendResp(google.protobuf.message.Message): NO_STREAM_FIELD_NUMBER: builtins.int ANY_FIELD_NUMBER: builtins.int STREAM_EXISTS_FIELD_NUMBER: builtins.int + stream_position: builtins.int @property def correlation_id(self) -> esdbclient.protos.Grpc.shared_pb2.UUID: ... @property @@ -1641,7 +1601,6 @@ class BatchAppendResp(google.protobuf.message.Message): def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - stream_position: builtins.int @property def no_stream(self) -> google.protobuf.empty_pb2.Empty: ... @property @@ -1654,8 +1613,9 @@ class BatchAppendResp(google.protobuf.message.Message): correlation_id: esdbclient.protos.Grpc.shared_pb2.UUID | None = ..., error: esdbclient.protos.Grpc.status_pb2.Status | None = ..., success: global___BatchAppendResp.Success | None = ..., - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., stream_position: builtins.int = ..., no_stream: google.protobuf.empty_pb2.Empty | None = ..., any: google.protobuf.empty_pb2.Empty | None = ..., @@ -1663,7 +1623,7 @@ class BatchAppendResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "correlation_id", @@ -1688,7 +1648,7 @@ class BatchAppendResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "correlation_id", @@ -1714,27 +1674,24 @@ class BatchAppendResp(google.protobuf.message.Message): @typing.overload def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_stream_position", b"expected_stream_position" ], ) -> ( - typing_extensions.Literal[ - "stream_position", "no_stream", "any", "stream_exists" - ] - | None + typing.Literal["stream_position", "no_stream", "any", "stream_exists"] | None ): ... @typing.overload def WhichOneof( - self, oneof_group: typing_extensions.Literal["result", b"result"] - ) -> typing_extensions.Literal["error", "success"] | None: ... + self, oneof_group: typing.Literal["result", b"result"] + ) -> typing.Literal["error", "success"] | None: ... global___BatchAppendResp = BatchAppendResp -@typing_extensions.final +@typing.final class DeleteReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1743,11 +1700,11 @@ class DeleteReq(google.protobuf.message.Message): NO_STREAM_FIELD_NUMBER: builtins.int ANY_FIELD_NUMBER: builtins.int STREAM_EXISTS_FIELD_NUMBER: builtins.int + revision: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - revision: builtins.int @property def no_stream(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property @@ -1757,8 +1714,9 @@ class DeleteReq(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., revision: builtins.int = ..., no_stream: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., any: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., @@ -1766,7 +1724,7 @@ class DeleteReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "expected_stream_revision", @@ -1783,7 +1741,7 @@ class DeleteReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "expected_stream_revision", @@ -1800,13 +1758,10 @@ class DeleteReq(google.protobuf.message.Message): ) -> None: ... def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_stream_revision", b"expected_stream_revision" ], - ) -> ( - typing_extensions.Literal["revision", "no_stream", "any", "stream_exists"] - | None - ): ... + ) -> typing.Literal["revision", "no_stream", "any", "stream_exists"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -1817,19 +1772,17 @@ class DeleteReq(google.protobuf.message.Message): options: global___DeleteReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___DeleteReq = DeleteReq -@typing_extensions.final +@typing.final class DeleteResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Position(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1845,7 +1798,7 @@ class DeleteResp(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -1867,7 +1820,7 @@ class DeleteResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "no_position", b"no_position", "position", @@ -1878,7 +1831,7 @@ class DeleteResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "no_position", b"no_position", "position", @@ -1888,17 +1841,16 @@ class DeleteResp(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["position_option", b"position_option"], - ) -> typing_extensions.Literal["position", "no_position"] | None: ... + self, oneof_group: typing.Literal["position_option", b"position_option"] + ) -> typing.Literal["position", "no_position"] | None: ... global___DeleteResp = DeleteResp -@typing_extensions.final +@typing.final class TombstoneReq(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Options(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -1907,11 +1859,11 @@ class TombstoneReq(google.protobuf.message.Message): NO_STREAM_FIELD_NUMBER: builtins.int ANY_FIELD_NUMBER: builtins.int STREAM_EXISTS_FIELD_NUMBER: builtins.int + revision: builtins.int @property def stream_identifier( self, ) -> esdbclient.protos.Grpc.shared_pb2.StreamIdentifier: ... - revision: builtins.int @property def no_stream(self) -> esdbclient.protos.Grpc.shared_pb2.Empty: ... @property @@ -1921,8 +1873,9 @@ class TombstoneReq(google.protobuf.message.Message): def __init__( self, *, - stream_identifier: esdbclient.protos.Grpc.shared_pb2.StreamIdentifier - | None = ..., + stream_identifier: ( + esdbclient.protos.Grpc.shared_pb2.StreamIdentifier | None + ) = ..., revision: builtins.int = ..., no_stream: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., any: esdbclient.protos.Grpc.shared_pb2.Empty | None = ..., @@ -1930,7 +1883,7 @@ class TombstoneReq(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "expected_stream_revision", @@ -1947,7 +1900,7 @@ class TombstoneReq(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "any", b"any", "expected_stream_revision", @@ -1964,13 +1917,10 @@ class TombstoneReq(google.protobuf.message.Message): ) -> None: ... def WhichOneof( self, - oneof_group: typing_extensions.Literal[ + oneof_group: typing.Literal[ "expected_stream_revision", b"expected_stream_revision" ], - ) -> ( - typing_extensions.Literal["revision", "no_stream", "any", "stream_exists"] - | None - ): ... + ) -> typing.Literal["revision", "no_stream", "any", "stream_exists"] | None: ... OPTIONS_FIELD_NUMBER: builtins.int @property @@ -1981,19 +1931,17 @@ class TombstoneReq(google.protobuf.message.Message): options: global___TombstoneReq.Options | None = ..., ) -> None: ... def HasField( - self, field_name: typing_extensions.Literal["options", b"options"] + self, field_name: typing.Literal["options", b"options"] ) -> builtins.bool: ... - def ClearField( - self, field_name: typing_extensions.Literal["options", b"options"] - ) -> None: ... + def ClearField(self, field_name: typing.Literal["options", b"options"]) -> None: ... global___TombstoneReq = TombstoneReq -@typing_extensions.final +@typing.final class TombstoneResp(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - @typing_extensions.final + @typing.final class Position(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2009,7 +1957,7 @@ class TombstoneResp(google.protobuf.message.Message): ) -> None: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "commit_position", b"commit_position", "prepare_position", @@ -2031,7 +1979,7 @@ class TombstoneResp(google.protobuf.message.Message): ) -> None: ... def HasField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "no_position", b"no_position", "position", @@ -2042,7 +1990,7 @@ class TombstoneResp(google.protobuf.message.Message): ) -> builtins.bool: ... def ClearField( self, - field_name: typing_extensions.Literal[ + field_name: typing.Literal[ "no_position", b"no_position", "position", @@ -2052,8 +2000,7 @@ class TombstoneResp(google.protobuf.message.Message): ], ) -> None: ... def WhichOneof( - self, - oneof_group: typing_extensions.Literal["position_option", b"position_option"], - ) -> typing_extensions.Literal["position", "no_position"] | None: ... + self, oneof_group: typing.Literal["position_option", b"position_option"] + ) -> typing.Literal["position", "no_position"] | None: ... global___TombstoneResp = TombstoneResp diff --git a/esdbclient/streams.py b/esdbclient/streams.py index b2636ad..2fac480 100644 --- a/esdbclient/streams.py +++ b/esdbclient/streams.py @@ -62,8 +62,8 @@ @runtime_checkable class _ReadResps(Iterator[streams_pb2.ReadResp], Protocol): @abstractmethod - def cancel(self) -> None: - ... # pragma: no cover + def cancel(self) -> None: # pragma: no cover + ... # @runtime_checkable diff --git a/poetry.lock b/poetry.lock index 94a338f..dcb6e43 100644 --- a/poetry.lock +++ b/poetry.lock @@ -67,36 +67,33 @@ tests-no-zope = ["attrs[tests-mypy]", "cloudpickle", "hypothesis", "pympler", "p [[package]] name = "black" -version = "23.3.0" +version = "24.4.2" description = "The uncompromising code formatter." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "black-23.3.0-cp310-cp310-macosx_10_16_arm64.whl", hash = "sha256:0945e13506be58bf7db93ee5853243eb368ace1c08a24c65ce108986eac65915"}, - {file = "black-23.3.0-cp310-cp310-macosx_10_16_universal2.whl", hash = "sha256:67de8d0c209eb5b330cce2469503de11bca4085880d62f1628bd9972cc3366b9"}, - {file = "black-23.3.0-cp310-cp310-macosx_10_16_x86_64.whl", hash = "sha256:7c3eb7cea23904399866c55826b31c1f55bbcd3890ce22ff70466b907b6775c2"}, - {file = "black-23.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:32daa9783106c28815d05b724238e30718f34155653d4d6e125dc7daec8e260c"}, - {file = "black-23.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:35d1381d7a22cc5b2be2f72c7dfdae4072a3336060635718cc7e1ede24221d6c"}, - {file = "black-23.3.0-cp311-cp311-macosx_10_16_arm64.whl", hash = "sha256:a8a968125d0a6a404842fa1bf0b349a568634f856aa08ffaff40ae0dfa52e7c6"}, - {file = "black-23.3.0-cp311-cp311-macosx_10_16_universal2.whl", hash = "sha256:c7ab5790333c448903c4b721b59c0d80b11fe5e9803d8703e84dcb8da56fec1b"}, - {file = "black-23.3.0-cp311-cp311-macosx_10_16_x86_64.whl", hash = "sha256:a6f6886c9869d4daae2d1715ce34a19bbc4b95006d20ed785ca00fa03cba312d"}, - {file = "black-23.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f3c333ea1dd6771b2d3777482429864f8e258899f6ff05826c3a4fcc5ce3f70"}, - {file = "black-23.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:11c410f71b876f961d1de77b9699ad19f939094c3a677323f43d7a29855fe326"}, - {file = "black-23.3.0-cp37-cp37m-macosx_10_16_x86_64.whl", hash = "sha256:1d06691f1eb8de91cd1b322f21e3bfc9efe0c7ca1f0e1eb1db44ea367dff656b"}, - {file = "black-23.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:50cb33cac881766a5cd9913e10ff75b1e8eb71babf4c7104f2e9c52da1fb7de2"}, - {file = "black-23.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:e114420bf26b90d4b9daa597351337762b63039752bdf72bf361364c1aa05925"}, - {file = "black-23.3.0-cp38-cp38-macosx_10_16_arm64.whl", hash = "sha256:48f9d345675bb7fbc3dd85821b12487e1b9a75242028adad0333ce36ed2a6d27"}, - {file = "black-23.3.0-cp38-cp38-macosx_10_16_universal2.whl", hash = "sha256:714290490c18fb0126baa0fca0a54ee795f7502b44177e1ce7624ba1c00f2331"}, - {file = "black-23.3.0-cp38-cp38-macosx_10_16_x86_64.whl", hash = "sha256:064101748afa12ad2291c2b91c960be28b817c0c7eaa35bec09cc63aa56493c5"}, - {file = "black-23.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:562bd3a70495facf56814293149e51aa1be9931567474993c7942ff7d3533961"}, - {file = "black-23.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:e198cf27888ad6f4ff331ca1c48ffc038848ea9f031a3b40ba36aced7e22f2c8"}, - {file = "black-23.3.0-cp39-cp39-macosx_10_16_arm64.whl", hash = "sha256:3238f2aacf827d18d26db07524e44741233ae09a584273aa059066d644ca7b30"}, - {file = "black-23.3.0-cp39-cp39-macosx_10_16_universal2.whl", hash = "sha256:f0bd2f4a58d6666500542b26354978218a9babcdc972722f4bf90779524515f3"}, - {file = "black-23.3.0-cp39-cp39-macosx_10_16_x86_64.whl", hash = "sha256:92c543f6854c28a3c7f39f4d9b7694f9a6eb9d3c5e2ece488c327b6e7ea9b266"}, - {file = "black-23.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a150542a204124ed00683f0db1f5cf1c2aaaa9cc3495b7a3b5976fb136090ab"}, - {file = "black-23.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:6b39abdfb402002b8a7d030ccc85cf5afff64ee90fa4c5aebc531e3ad0175ddb"}, - {file = "black-23.3.0-py3-none-any.whl", hash = "sha256:ec751418022185b0c1bb7d7736e6933d40bbb14c14a0abcf9123d1b159f98dd4"}, - {file = "black-23.3.0.tar.gz", hash = "sha256:1c7b8d606e728a41ea1ccbd7264677e494e87cf630e399262ced92d4a8dac940"}, + {file = "black-24.4.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:dd1b5a14e417189db4c7b64a6540f31730713d173f0b63e55fabd52d61d8fdce"}, + {file = "black-24.4.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8e537d281831ad0e71007dcdcbe50a71470b978c453fa41ce77186bbe0ed6021"}, + {file = "black-24.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eaea3008c281f1038edb473c1aa8ed8143a5535ff18f978a318f10302b254063"}, + {file = "black-24.4.2-cp310-cp310-win_amd64.whl", hash = "sha256:7768a0dbf16a39aa5e9a3ded568bb545c8c2727396d063bbaf847df05b08cd96"}, + {file = "black-24.4.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:257d724c2c9b1660f353b36c802ccece186a30accc7742c176d29c146df6e474"}, + {file = "black-24.4.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:bdde6f877a18f24844e381d45e9947a49e97933573ac9d4345399be37621e26c"}, + {file = "black-24.4.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e151054aa00bad1f4e1f04919542885f89f5f7d086b8a59e5000e6c616896ffb"}, + {file = "black-24.4.2-cp311-cp311-win_amd64.whl", hash = "sha256:7e122b1c4fb252fd85df3ca93578732b4749d9be076593076ef4d07a0233c3e1"}, + {file = "black-24.4.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:accf49e151c8ed2c0cdc528691838afd217c50412534e876a19270fea1e28e2d"}, + {file = "black-24.4.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:88c57dc656038f1ab9f92b3eb5335ee9b021412feaa46330d5eba4e51fe49b04"}, + {file = "black-24.4.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:be8bef99eb46d5021bf053114442914baeb3649a89dc5f3a555c88737e5e98fc"}, + {file = "black-24.4.2-cp312-cp312-win_amd64.whl", hash = "sha256:415e686e87dbbe6f4cd5ef0fbf764af7b89f9057b97c908742b6008cc554b9c0"}, + {file = "black-24.4.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:bf10f7310db693bb62692609b397e8d67257c55f949abde4c67f9cc574492cc7"}, + {file = "black-24.4.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:98e123f1d5cfd42f886624d84464f7756f60ff6eab89ae845210631714f6db94"}, + {file = "black-24.4.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:48a85f2cb5e6799a9ef05347b476cce6c182d6c71ee36925a6c194d074336ef8"}, + {file = "black-24.4.2-cp38-cp38-win_amd64.whl", hash = "sha256:b1530ae42e9d6d5b670a34db49a94115a64596bc77710b1d05e9801e62ca0a7c"}, + {file = "black-24.4.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:37aae07b029fa0174d39daf02748b379399b909652a806e5708199bd93899da1"}, + {file = "black-24.4.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:da33a1a5e49c4122ccdfd56cd021ff1ebc4a1ec4e2d01594fef9b6f267a9e741"}, + {file = "black-24.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ef703f83fc32e131e9bcc0a5094cfe85599e7109f896fe8bc96cc402f3eb4b6e"}, + {file = "black-24.4.2-cp39-cp39-win_amd64.whl", hash = "sha256:b9176b9832e84308818a99a561e90aa479e73c523b3f77afd07913380ae2eab7"}, + {file = "black-24.4.2-py3-none-any.whl", hash = "sha256:d36ed1124bb81b32f8614555b34cc4259c3fbc7eec17870e8ff8ded335b58d8c"}, + {file = "black-24.4.2.tar.gz", hash = "sha256:c872b53057f000085da66a19c55d68f6f8ddcac2642392ad3a355878406fbd4d"}, ] [package.dependencies] @@ -106,11 +103,11 @@ packaging = ">=22.0" pathspec = ">=0.9.0" platformdirs = ">=2" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} +typing-extensions = {version = ">=4.0.1", markers = "python_version < \"3.11\""} [package.extras] colorama = ["colorama (>=0.4.3)"] -d = ["aiohttp (>=3.7.4)"] +d = ["aiohttp (>=3.7.4)", "aiohttp (>=3.7.4,!=3.9.0)"] jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"] uvloop = ["uvloop (>=0.15.2)"] @@ -152,71 +149,63 @@ files = [ [[package]] name = "coverage" -version = "7.2.7" +version = "7.5.3" description = "Code coverage measurement for Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "coverage-7.2.7-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d39b5b4f2a66ccae8b7263ac3c8170994b65266797fb96cbbfd3fb5b23921db8"}, - {file = "coverage-7.2.7-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6d040ef7c9859bb11dfeb056ff5b3872436e3b5e401817d87a31e1750b9ae2fb"}, - {file = "coverage-7.2.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ba90a9563ba44a72fda2e85302c3abc71c5589cea608ca16c22b9804262aaeb6"}, - {file = "coverage-7.2.7-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e7d9405291c6928619403db1d10bd07888888ec1abcbd9748fdaa971d7d661b2"}, - {file = "coverage-7.2.7-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:31563e97dae5598556600466ad9beea39fb04e0229e61c12eaa206e0aa202063"}, - {file = "coverage-7.2.7-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:ebba1cd308ef115925421d3e6a586e655ca5a77b5bf41e02eb0e4562a111f2d1"}, - {file = "coverage-7.2.7-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:cb017fd1b2603ef59e374ba2063f593abe0fc45f2ad9abdde5b4d83bd922a353"}, - {file = "coverage-7.2.7-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d62a5c7dad11015c66fbb9d881bc4caa5b12f16292f857842d9d1871595f4495"}, - {file = "coverage-7.2.7-cp310-cp310-win32.whl", hash = "sha256:ee57190f24fba796e36bb6d3aa8a8783c643d8fa9760c89f7a98ab5455fbf818"}, - {file = "coverage-7.2.7-cp310-cp310-win_amd64.whl", hash = "sha256:f75f7168ab25dd93110c8a8117a22450c19976afbc44234cbf71481094c1b850"}, - {file = "coverage-7.2.7-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:06a9a2be0b5b576c3f18f1a241f0473575c4a26021b52b2a85263a00f034d51f"}, - {file = "coverage-7.2.7-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5baa06420f837184130752b7c5ea0808762083bf3487b5038d68b012e5937dbe"}, - {file = "coverage-7.2.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fdec9e8cbf13a5bf63290fc6013d216a4c7232efb51548594ca3631a7f13c3a3"}, - {file = "coverage-7.2.7-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:52edc1a60c0d34afa421c9c37078817b2e67a392cab17d97283b64c5833f427f"}, - {file = "coverage-7.2.7-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:63426706118b7f5cf6bb6c895dc215d8a418d5952544042c8a2d9fe87fcf09cb"}, - {file = "coverage-7.2.7-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:afb17f84d56068a7c29f5fa37bfd38d5aba69e3304af08ee94da8ed5b0865833"}, - {file = "coverage-7.2.7-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:48c19d2159d433ccc99e729ceae7d5293fbffa0bdb94952d3579983d1c8c9d97"}, - {file = "coverage-7.2.7-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:0e1f928eaf5469c11e886fe0885ad2bf1ec606434e79842a879277895a50942a"}, - {file = "coverage-7.2.7-cp311-cp311-win32.whl", hash = "sha256:33d6d3ea29d5b3a1a632b3c4e4f4ecae24ef170b0b9ee493883f2df10039959a"}, - {file = "coverage-7.2.7-cp311-cp311-win_amd64.whl", hash = "sha256:5b7540161790b2f28143191f5f8ec02fb132660ff175b7747b95dcb77ac26562"}, - {file = "coverage-7.2.7-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:f2f67fe12b22cd130d34d0ef79206061bfb5eda52feb6ce0dba0644e20a03cf4"}, - {file = "coverage-7.2.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a342242fe22407f3c17f4b499276a02b01e80f861f1682ad1d95b04018e0c0d4"}, - {file = "coverage-7.2.7-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:171717c7cb6b453aebac9a2ef603699da237f341b38eebfee9be75d27dc38e01"}, - {file = "coverage-7.2.7-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49969a9f7ffa086d973d91cec8d2e31080436ef0fb4a359cae927e742abfaaa6"}, - {file = "coverage-7.2.7-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b46517c02ccd08092f4fa99f24c3b83d8f92f739b4657b0f146246a0ca6a831d"}, - {file = "coverage-7.2.7-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:a3d33a6b3eae87ceaefa91ffdc130b5e8536182cd6dfdbfc1aa56b46ff8c86de"}, - {file = "coverage-7.2.7-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:976b9c42fb2a43ebf304fa7d4a310e5f16cc99992f33eced91ef6f908bd8f33d"}, - {file = "coverage-7.2.7-cp312-cp312-win32.whl", hash = "sha256:8de8bb0e5ad103888d65abef8bca41ab93721647590a3f740100cd65c3b00511"}, - {file = "coverage-7.2.7-cp312-cp312-win_amd64.whl", hash = "sha256:9e31cb64d7de6b6f09702bb27c02d1904b3aebfca610c12772452c4e6c21a0d3"}, - {file = "coverage-7.2.7-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:58c2ccc2f00ecb51253cbe5d8d7122a34590fac9646a960d1430d5b15321d95f"}, - {file = "coverage-7.2.7-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d22656368f0e6189e24722214ed8d66b8022db19d182927b9a248a2a8a2f67eb"}, - {file = "coverage-7.2.7-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a895fcc7b15c3fc72beb43cdcbdf0ddb7d2ebc959edac9cef390b0d14f39f8a9"}, - {file = "coverage-7.2.7-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e84606b74eb7de6ff581a7915e2dab7a28a0517fbe1c9239eb227e1354064dcd"}, - {file = "coverage-7.2.7-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:0a5f9e1dbd7fbe30196578ca36f3fba75376fb99888c395c5880b355e2875f8a"}, - {file = "coverage-7.2.7-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:419bfd2caae268623dd469eff96d510a920c90928b60f2073d79f8fe2bbc5959"}, - {file = "coverage-7.2.7-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:2aee274c46590717f38ae5e4650988d1af340fe06167546cc32fe2f58ed05b02"}, - {file = "coverage-7.2.7-cp37-cp37m-win32.whl", hash = "sha256:61b9a528fb348373c433e8966535074b802c7a5d7f23c4f421e6c6e2f1697a6f"}, - {file = "coverage-7.2.7-cp37-cp37m-win_amd64.whl", hash = "sha256:b1c546aca0ca4d028901d825015dc8e4d56aac4b541877690eb76490f1dc8ed0"}, - {file = "coverage-7.2.7-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:54b896376ab563bd38453cecb813c295cf347cf5906e8b41d340b0321a5433e5"}, - {file = "coverage-7.2.7-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3d376df58cc111dc8e21e3b6e24606b5bb5dee6024f46a5abca99124b2229ef5"}, - {file = "coverage-7.2.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5e330fc79bd7207e46c7d7fd2bb4af2963f5f635703925543a70b99574b0fea9"}, - {file = "coverage-7.2.7-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e9d683426464e4a252bf70c3498756055016f99ddaec3774bf368e76bbe02b6"}, - {file = "coverage-7.2.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d13c64ee2d33eccf7437961b6ea7ad8673e2be040b4f7fd4fd4d4d28d9ccb1e"}, - {file = "coverage-7.2.7-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b7aa5f8a41217360e600da646004f878250a0d6738bcdc11a0a39928d7dc2050"}, - {file = "coverage-7.2.7-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:8fa03bce9bfbeeef9f3b160a8bed39a221d82308b4152b27d82d8daa7041fee5"}, - {file = "coverage-7.2.7-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:245167dd26180ab4c91d5e1496a30be4cd721a5cf2abf52974f965f10f11419f"}, - {file = "coverage-7.2.7-cp38-cp38-win32.whl", hash = "sha256:d2c2db7fd82e9b72937969bceac4d6ca89660db0a0967614ce2481e81a0b771e"}, - {file = "coverage-7.2.7-cp38-cp38-win_amd64.whl", hash = "sha256:2e07b54284e381531c87f785f613b833569c14ecacdcb85d56b25c4622c16c3c"}, - {file = "coverage-7.2.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:537891ae8ce59ef63d0123f7ac9e2ae0fc8b72c7ccbe5296fec45fd68967b6c9"}, - {file = "coverage-7.2.7-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:06fb182e69f33f6cd1d39a6c597294cff3143554b64b9825d1dc69d18cc2fff2"}, - {file = "coverage-7.2.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:201e7389591af40950a6480bd9edfa8ed04346ff80002cec1a66cac4549c1ad7"}, - {file = "coverage-7.2.7-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f6951407391b639504e3b3be51b7ba5f3528adbf1a8ac3302b687ecababf929e"}, - {file = "coverage-7.2.7-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f48351d66575f535669306aa7d6d6f71bc43372473b54a832222803eb956fd1"}, - {file = "coverage-7.2.7-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b29019c76039dc3c0fd815c41392a044ce555d9bcdd38b0fb60fb4cd8e475ba9"}, - {file = "coverage-7.2.7-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:81c13a1fc7468c40f13420732805a4c38a105d89848b7c10af65a90beff25250"}, - {file = "coverage-7.2.7-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:975d70ab7e3c80a3fe86001d8751f6778905ec723f5b110aed1e450da9d4b7f2"}, - {file = "coverage-7.2.7-cp39-cp39-win32.whl", hash = "sha256:7ee7d9d4822c8acc74a5e26c50604dff824710bc8de424904c0982e25c39c6cb"}, - {file = "coverage-7.2.7-cp39-cp39-win_amd64.whl", hash = "sha256:eb393e5ebc85245347950143969b241d08b52b88a3dc39479822e073a1a8eb27"}, - {file = "coverage-7.2.7-pp37.pp38.pp39-none-any.whl", hash = "sha256:b7b4c971f05e6ae490fef852c218b0e79d4e52f79ef0c8475566584a8fb3e01d"}, - {file = "coverage-7.2.7.tar.gz", hash = "sha256:924d94291ca674905fe9481f12294eb11f2d3d3fd1adb20314ba89e94f44ed59"}, + {file = "coverage-7.5.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a6519d917abb15e12380406d721e37613e2a67d166f9fb7e5a8ce0375744cd45"}, + {file = "coverage-7.5.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:aea7da970f1feccf48be7335f8b2ca64baf9b589d79e05b9397a06696ce1a1ec"}, + {file = "coverage-7.5.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:923b7b1c717bd0f0f92d862d1ff51d9b2b55dbbd133e05680204465f454bb286"}, + {file = "coverage-7.5.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:62bda40da1e68898186f274f832ef3e759ce929da9a9fd9fcf265956de269dbc"}, + {file = "coverage-7.5.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d8b7339180d00de83e930358223c617cc343dd08e1aa5ec7b06c3a121aec4e1d"}, + {file = "coverage-7.5.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:25a5caf742c6195e08002d3b6c2dd6947e50efc5fc2c2205f61ecb47592d2d83"}, + {file = "coverage-7.5.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:05ac5f60faa0c704c0f7e6a5cbfd6f02101ed05e0aee4d2822637a9e672c998d"}, + {file = "coverage-7.5.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:239a4e75e09c2b12ea478d28815acf83334d32e722e7433471fbf641c606344c"}, + {file = "coverage-7.5.3-cp310-cp310-win32.whl", hash = "sha256:a5812840d1d00eafae6585aba38021f90a705a25b8216ec7f66aebe5b619fb84"}, + {file = "coverage-7.5.3-cp310-cp310-win_amd64.whl", hash = "sha256:33ca90a0eb29225f195e30684ba4a6db05dbef03c2ccd50b9077714c48153cac"}, + {file = "coverage-7.5.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f81bc26d609bf0fbc622c7122ba6307993c83c795d2d6f6f6fd8c000a770d974"}, + {file = "coverage-7.5.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7cec2af81f9e7569280822be68bd57e51b86d42e59ea30d10ebdbb22d2cb7232"}, + {file = "coverage-7.5.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:55f689f846661e3f26efa535071775d0483388a1ccfab899df72924805e9e7cd"}, + {file = "coverage-7.5.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:50084d3516aa263791198913a17354bd1dc627d3c1639209640b9cac3fef5807"}, + {file = "coverage-7.5.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:341dd8f61c26337c37988345ca5c8ccabeff33093a26953a1ac72e7d0103c4fb"}, + {file = "coverage-7.5.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:ab0b028165eea880af12f66086694768f2c3139b2c31ad5e032c8edbafca6ffc"}, + {file = "coverage-7.5.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:5bc5a8c87714b0c67cfeb4c7caa82b2d71e8864d1a46aa990b5588fa953673b8"}, + {file = "coverage-7.5.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:38a3b98dae8a7c9057bd91fbf3415c05e700a5114c5f1b5b0ea5f8f429ba6614"}, + {file = "coverage-7.5.3-cp311-cp311-win32.whl", hash = "sha256:fcf7d1d6f5da887ca04302db8e0e0cf56ce9a5e05f202720e49b3e8157ddb9a9"}, + {file = "coverage-7.5.3-cp311-cp311-win_amd64.whl", hash = "sha256:8c836309931839cca658a78a888dab9676b5c988d0dd34ca247f5f3e679f4e7a"}, + {file = "coverage-7.5.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:296a7d9bbc598e8744c00f7a6cecf1da9b30ae9ad51c566291ff1314e6cbbed8"}, + {file = "coverage-7.5.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:34d6d21d8795a97b14d503dcaf74226ae51eb1f2bd41015d3ef332a24d0a17b3"}, + {file = "coverage-7.5.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8e317953bb4c074c06c798a11dbdd2cf9979dbcaa8ccc0fa4701d80042d4ebf1"}, + {file = "coverage-7.5.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:705f3d7c2b098c40f5b81790a5fedb274113373d4d1a69e65f8b68b0cc26f6db"}, + {file = "coverage-7.5.3-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b1196e13c45e327d6cd0b6e471530a1882f1017eb83c6229fc613cd1a11b53cd"}, + {file = "coverage-7.5.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:015eddc5ccd5364dcb902eaecf9515636806fa1e0d5bef5769d06d0f31b54523"}, + {file = "coverage-7.5.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:fd27d8b49e574e50caa65196d908f80e4dff64d7e592d0c59788b45aad7e8b35"}, + {file = "coverage-7.5.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:33fc65740267222fc02975c061eb7167185fef4cc8f2770267ee8bf7d6a42f84"}, + {file = "coverage-7.5.3-cp312-cp312-win32.whl", hash = "sha256:7b2a19e13dfb5c8e145c7a6ea959485ee8e2204699903c88c7d25283584bfc08"}, + {file = "coverage-7.5.3-cp312-cp312-win_amd64.whl", hash = "sha256:0bbddc54bbacfc09b3edaec644d4ac90c08ee8ed4844b0f86227dcda2d428fcb"}, + {file = "coverage-7.5.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:f78300789a708ac1f17e134593f577407d52d0417305435b134805c4fb135adb"}, + {file = "coverage-7.5.3-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b368e1aee1b9b75757942d44d7598dcd22a9dbb126affcbba82d15917f0cc155"}, + {file = "coverage-7.5.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f836c174c3a7f639bded48ec913f348c4761cbf49de4a20a956d3431a7c9cb24"}, + {file = "coverage-7.5.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:244f509f126dc71369393ce5fea17c0592c40ee44e607b6d855e9c4ac57aac98"}, + {file = "coverage-7.5.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c4c2872b3c91f9baa836147ca33650dc5c172e9273c808c3c3199c75490e709d"}, + {file = "coverage-7.5.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:dd4b3355b01273a56b20c219e74e7549e14370b31a4ffe42706a8cda91f19f6d"}, + {file = "coverage-7.5.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:f542287b1489c7a860d43a7d8883e27ca62ab84ca53c965d11dac1d3a1fab7ce"}, + {file = "coverage-7.5.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:75e3f4e86804023e991096b29e147e635f5e2568f77883a1e6eed74512659ab0"}, + {file = "coverage-7.5.3-cp38-cp38-win32.whl", hash = "sha256:c59d2ad092dc0551d9f79d9d44d005c945ba95832a6798f98f9216ede3d5f485"}, + {file = "coverage-7.5.3-cp38-cp38-win_amd64.whl", hash = "sha256:fa21a04112c59ad54f69d80e376f7f9d0f5f9123ab87ecd18fbb9ec3a2beed56"}, + {file = "coverage-7.5.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f5102a92855d518b0996eb197772f5ac2a527c0ec617124ad5242a3af5e25f85"}, + {file = "coverage-7.5.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d1da0a2e3b37b745a2b2a678a4c796462cf753aebf94edcc87dcc6b8641eae31"}, + {file = "coverage-7.5.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8383a6c8cefba1b7cecc0149415046b6fc38836295bc4c84e820872eb5478b3d"}, + {file = "coverage-7.5.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9aad68c3f2566dfae84bf46295a79e79d904e1c21ccfc66de88cd446f8686341"}, + {file = "coverage-7.5.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2e079c9ec772fedbade9d7ebc36202a1d9ef7291bc9b3a024ca395c4d52853d7"}, + {file = "coverage-7.5.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:bde997cac85fcac227b27d4fb2c7608a2c5f6558469b0eb704c5726ae49e1c52"}, + {file = "coverage-7.5.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:990fb20b32990b2ce2c5f974c3e738c9358b2735bc05075d50a6f36721b8f303"}, + {file = "coverage-7.5.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:3d5a67f0da401e105753d474369ab034c7bae51a4c31c77d94030d59e41df5bd"}, + {file = "coverage-7.5.3-cp39-cp39-win32.whl", hash = "sha256:e08c470c2eb01977d221fd87495b44867a56d4d594f43739a8028f8646a51e0d"}, + {file = "coverage-7.5.3-cp39-cp39-win_amd64.whl", hash = "sha256:1d2a830ade66d3563bb61d1e3c77c8def97b30ed91e166c67d0632c018f380f0"}, + {file = "coverage-7.5.3-pp38.pp39.pp310-none-any.whl", hash = "sha256:3538d8fb1ee9bdd2e2692b3b18c22bb1c19ffbefd06880f5ac496e42d7bb3884"}, + {file = "coverage-7.5.3.tar.gz", hash = "sha256:04aefca5190d1dc7a53a4c1a5a7f8568811306d7a8ee231c42fb69215571944f"}, ] [package.extras] @@ -333,17 +322,17 @@ pyflakes = ">=2.5.0,<2.6.0" [[package]] name = "flake8-broken-line" -version = "0.6.0" +version = "1.0.0" description = "Flake8 plugin to forbid backslashes for line breaks" optional = false -python-versions = ">=3.7,<4.0" +python-versions = ">=3.8,<4.0" files = [ - {file = "flake8-broken-line-0.6.0.tar.gz", hash = "sha256:a02268f11a18837c83c59013a36cc00fee9e17a042745cc0c9895f1c9f6acc16"}, - {file = "flake8_broken_line-0.6.0-py3-none-any.whl", hash = "sha256:c0ab336ff7de228dbffbe56d67b3615bb21fb15f3ed0604fa7bdf9feb72d7d88"}, + {file = "flake8_broken_line-1.0.0-py3-none-any.whl", hash = "sha256:96c964336024a5030dc536a9f6fb02aa679e2d2a6b35b80a558b5136c35832a9"}, + {file = "flake8_broken_line-1.0.0.tar.gz", hash = "sha256:e2c6a17f8d9a129e99c1320fce89b33843e2963871025c4c2bb7b8b8d8732a85"}, ] [package.dependencies] -flake8 = ">=3.5,<6" +flake8 = ">5" [[package]] name = "flake8-bugbear" @@ -379,13 +368,13 @@ flake8 = "*" [[package]] name = "flake8-isort" -version = "6.0.0" -description = "flake8 plugin that integrates isort ." +version = "6.1.1" +description = "flake8 plugin that integrates isort" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "flake8-isort-6.0.0.tar.gz", hash = "sha256:537f453a660d7e903f602ecfa36136b140de279df58d02eb1b6a0c84e83c528c"}, - {file = "flake8_isort-6.0.0-py3-none-any.whl", hash = "sha256:aa0cac02a62c7739e370ce6b9c31743edac904bae4b157274511fc8a19c75bbc"}, + {file = "flake8_isort-6.1.1-py3-none-any.whl", hash = "sha256:0fec4dc3a15aefbdbe4012e51d5531a2eb5fa8b981cdfbc882296a59b54ede12"}, + {file = "flake8_isort-6.1.1.tar.gz", hash = "sha256:c1f82f3cf06a80c13e1d09bfae460e9666255d5c780b859f19f8318d420370b3"}, ] [package.dependencies] @@ -397,13 +386,13 @@ test = ["pytest"] [[package]] name = "flake8-tidy-imports" -version = "4.9.0" +version = "4.10.0" description = "A flake8 plugin that helps you write tidier imports." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "flake8_tidy_imports-4.9.0-py3-none-any.whl", hash = "sha256:bdbd6ea3750089c5d0f4a27a554e8890ecfe6d1b9b60b6c0f1ffbfd00e161c58"}, - {file = "flake8_tidy_imports-4.9.0.tar.gz", hash = "sha256:dd90625871f6a03e6f0763fed7098a9b090afaea8c5c27464049e4b0d41ec787"}, + {file = "flake8_tidy_imports-4.10.0-py3-none-any.whl", hash = "sha256:b0387fb2ea200441bd142309e716fb7b8f4b0937bdf5f8b7c0c118a5f5e2b8ed"}, + {file = "flake8_tidy_imports-4.10.0.tar.gz", hash = "sha256:bd6cf86465402d2b86903009b748d85a628e599e17b76e810c9857e3a2815173"}, ] [package.dependencies] @@ -674,20 +663,17 @@ files = [ [[package]] name = "isort" -version = "5.11.5" +version = "5.13.2" description = "A Python utility / library to sort Python imports." optional = false -python-versions = ">=3.7.0" +python-versions = ">=3.8.0" files = [ - {file = "isort-5.11.5-py3-none-any.whl", hash = "sha256:ba1d72fb2595a01c7895a5128f9585a5cc4b6d395f1c8d514989b9a7eb2a8746"}, - {file = "isort-5.11.5.tar.gz", hash = "sha256:6be1f76a507cb2ecf16c7cf14a37e41609ca082330be4e3436a18ef74add55db"}, + {file = "isort-5.13.2-py3-none-any.whl", hash = "sha256:8ca5e72a8d85860d5a3fa69b8745237f2939afe12dbf656afbcb47fe72d947a6"}, + {file = "isort-5.13.2.tar.gz", hash = "sha256:48fdfcb9face5d58a4f6dde2e72a1fb8dcaf8ab26f95ab49fab84c2ddefb0109"}, ] [package.extras] -colors = ["colorama (>=0.4.3,<0.5.0)"] -pipfile-deprecated-finder = ["pip-shims (>=0.5.2)", "pipreqs", "requirementslib"] -plugins = ["setuptools"] -requirements-deprecated-finder = ["pip-api", "pipreqs"] +colors = ["colorama (>=0.4.6)"] [[package]] name = "jinja2" @@ -823,37 +809,38 @@ files = [ [[package]] name = "mypy" -version = "1.4.1" +version = "1.10.0" description = "Optional static typing for Python" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "mypy-1.4.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:566e72b0cd6598503e48ea610e0052d1b8168e60a46e0bfd34b3acf2d57f96a8"}, - {file = "mypy-1.4.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ca637024ca67ab24a7fd6f65d280572c3794665eaf5edcc7e90a866544076878"}, - {file = "mypy-1.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0dde1d180cd84f0624c5dcaaa89c89775550a675aff96b5848de78fb11adabcd"}, - {file = "mypy-1.4.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8c4d8e89aa7de683e2056a581ce63c46a0c41e31bd2b6d34144e2c80f5ea53dc"}, - {file = "mypy-1.4.1-cp310-cp310-win_amd64.whl", hash = "sha256:bfdca17c36ae01a21274a3c387a63aa1aafe72bff976522886869ef131b937f1"}, - {file = "mypy-1.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7549fbf655e5825d787bbc9ecf6028731973f78088fbca3a1f4145c39ef09462"}, - {file = "mypy-1.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:98324ec3ecf12296e6422939e54763faedbfcc502ea4a4c38502082711867258"}, - {file = "mypy-1.4.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:141dedfdbfe8a04142881ff30ce6e6653c9685b354876b12e4fe6c78598b45e2"}, - {file = "mypy-1.4.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8207b7105829eca6f3d774f64a904190bb2231de91b8b186d21ffd98005f14a7"}, - {file = "mypy-1.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:16f0db5b641ba159eff72cff08edc3875f2b62b2fa2bc24f68c1e7a4e8232d01"}, - {file = "mypy-1.4.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:470c969bb3f9a9efcedbadcd19a74ffb34a25f8e6b0e02dae7c0e71f8372f97b"}, - {file = "mypy-1.4.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e5952d2d18b79f7dc25e62e014fe5a23eb1a3d2bc66318df8988a01b1a037c5b"}, - {file = "mypy-1.4.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:190b6bab0302cec4e9e6767d3eb66085aef2a1cc98fe04936d8a42ed2ba77bb7"}, - {file = "mypy-1.4.1-cp37-cp37m-win_amd64.whl", hash = "sha256:9d40652cc4fe33871ad3338581dca3297ff5f2213d0df345bcfbde5162abf0c9"}, - {file = "mypy-1.4.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:01fd2e9f85622d981fd9063bfaef1aed6e336eaacca00892cd2d82801ab7c042"}, - {file = "mypy-1.4.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:2460a58faeea905aeb1b9b36f5065f2dc9a9c6e4c992a6499a2360c6c74ceca3"}, - {file = "mypy-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a2746d69a8196698146a3dbe29104f9eb6a2a4d8a27878d92169a6c0b74435b6"}, - {file = "mypy-1.4.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:ae704dcfaa180ff7c4cfbad23e74321a2b774f92ca77fd94ce1049175a21c97f"}, - {file = "mypy-1.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:43d24f6437925ce50139a310a64b2ab048cb2d3694c84c71c3f2a1626d8101dc"}, - {file = "mypy-1.4.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:c482e1246726616088532b5e964e39765b6d1520791348e6c9dc3af25b233828"}, - {file = "mypy-1.4.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:43b592511672017f5b1a483527fd2684347fdffc041c9ef53428c8dc530f79a3"}, - {file = "mypy-1.4.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:34a9239d5b3502c17f07fd7c0b2ae6b7dd7d7f6af35fbb5072c6208e76295816"}, - {file = "mypy-1.4.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5703097c4936bbb9e9bce41478c8d08edd2865e177dc4c52be759f81ee4dd26c"}, - {file = "mypy-1.4.1-cp39-cp39-win_amd64.whl", hash = "sha256:e02d700ec8d9b1859790c0475df4e4092c7bf3272a4fd2c9f33d87fac4427b8f"}, - {file = "mypy-1.4.1-py3-none-any.whl", hash = "sha256:45d32cec14e7b97af848bddd97d85ea4f0db4d5a149ed9676caa4eb2f7402bb4"}, - {file = "mypy-1.4.1.tar.gz", hash = "sha256:9bbcd9ab8ea1f2e1c8031c21445b511442cc45c89951e49bbf852cbb70755b1b"}, + {file = "mypy-1.10.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:da1cbf08fb3b851ab3b9523a884c232774008267b1f83371ace57f412fe308c2"}, + {file = "mypy-1.10.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:12b6bfc1b1a66095ab413160a6e520e1dc076a28f3e22f7fb25ba3b000b4ef99"}, + {file = "mypy-1.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9e36fb078cce9904c7989b9693e41cb9711e0600139ce3970c6ef814b6ebc2b2"}, + {file = "mypy-1.10.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:2b0695d605ddcd3eb2f736cd8b4e388288c21e7de85001e9f85df9187f2b50f9"}, + {file = "mypy-1.10.0-cp310-cp310-win_amd64.whl", hash = "sha256:cd777b780312ddb135bceb9bc8722a73ec95e042f911cc279e2ec3c667076051"}, + {file = "mypy-1.10.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3be66771aa5c97602f382230165b856c231d1277c511c9a8dd058be4784472e1"}, + {file = "mypy-1.10.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8b2cbaca148d0754a54d44121b5825ae71868c7592a53b7292eeb0f3fdae95ee"}, + {file = "mypy-1.10.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ec404a7cbe9fc0e92cb0e67f55ce0c025014e26d33e54d9e506a0f2d07fe5de"}, + {file = "mypy-1.10.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e22e1527dc3d4aa94311d246b59e47f6455b8729f4968765ac1eacf9a4760bc7"}, + {file = "mypy-1.10.0-cp311-cp311-win_amd64.whl", hash = "sha256:a87dbfa85971e8d59c9cc1fcf534efe664d8949e4c0b6b44e8ca548e746a8d53"}, + {file = "mypy-1.10.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:a781f6ad4bab20eef8b65174a57e5203f4be627b46291f4589879bf4e257b97b"}, + {file = "mypy-1.10.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b808e12113505b97d9023b0b5e0c0705a90571c6feefc6f215c1df9381256e30"}, + {file = "mypy-1.10.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8f55583b12156c399dce2df7d16f8a5095291354f1e839c252ec6c0611e86e2e"}, + {file = "mypy-1.10.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4cf18f9d0efa1b16478c4c129eabec36148032575391095f73cae2e722fcf9d5"}, + {file = "mypy-1.10.0-cp312-cp312-win_amd64.whl", hash = "sha256:bc6ac273b23c6b82da3bb25f4136c4fd42665f17f2cd850771cb600bdd2ebeda"}, + {file = "mypy-1.10.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:9fd50226364cd2737351c79807775136b0abe084433b55b2e29181a4c3c878c0"}, + {file = "mypy-1.10.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:f90cff89eea89273727d8783fef5d4a934be2fdca11b47def50cf5d311aff727"}, + {file = "mypy-1.10.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fcfc70599efde5c67862a07a1aaf50e55bce629ace26bb19dc17cece5dd31ca4"}, + {file = "mypy-1.10.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:075cbf81f3e134eadaf247de187bd604748171d6b79736fa9b6c9685b4083061"}, + {file = "mypy-1.10.0-cp38-cp38-win_amd64.whl", hash = "sha256:3f298531bca95ff615b6e9f2fc0333aae27fa48052903a0ac90215021cdcfa4f"}, + {file = "mypy-1.10.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:fa7ef5244615a2523b56c034becde4e9e3f9b034854c93639adb667ec9ec2976"}, + {file = "mypy-1.10.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3236a4c8f535a0631f85f5fcdffba71c7feeef76a6002fcba7c1a8e57c8be1ec"}, + {file = "mypy-1.10.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a2b5cdbb5dd35aa08ea9114436e0d79aceb2f38e32c21684dcf8e24e1e92821"}, + {file = "mypy-1.10.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:92f93b21c0fe73dc00abf91022234c79d793318b8a96faac147cd579c1671746"}, + {file = "mypy-1.10.0-cp39-cp39-win_amd64.whl", hash = "sha256:28d0e038361b45f099cc086d9dd99c15ff14d0188f44ac883010e172ce86c38a"}, + {file = "mypy-1.10.0-py3-none-any.whl", hash = "sha256:f8c083976eb530019175aabadb60921e73b4f45736760826aa1689dda8208aee"}, + {file = "mypy-1.10.0.tar.gz", hash = "sha256:3d087fcbec056c4ee34974da493a826ce316947485cef3901f511848e687c131"}, ] [package.dependencies] @@ -864,7 +851,7 @@ typing-extensions = ">=4.1.0" [package.extras] dmypy = ["psutil (>=4.0)"] install-types = ["pip"] -python2 = ["typed-ast (>=1.4.0,<2)"] +mypyc = ["setuptools (>=50)"] reports = ["lxml"] [[package]] @@ -880,18 +867,18 @@ files = [ [[package]] name = "mypy-protobuf" -version = "3.4.0" +version = "3.6.0" description = "Generate mypy stub files from protobuf specs" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "mypy-protobuf-3.4.0.tar.gz", hash = "sha256:7d75a079651b105076776a35a5405e3fa773b8a167118f1b712e443e9a6c18a2"}, - {file = "mypy_protobuf-3.4.0-py3-none-any.whl", hash = "sha256:da33dfde7547ff57e5ba5564126cbfa114f14413b2fa50759b1fa5de1e4ab511"}, + {file = "mypy-protobuf-3.6.0.tar.gz", hash = "sha256:02f242eb3409f66889f2b1a3aa58356ec4d909cdd0f93115622e9e70366eca3c"}, + {file = "mypy_protobuf-3.6.0-py3-none-any.whl", hash = "sha256:56176e4d569070e7350ea620262478b49b7efceba4103d468448f1d21492fd6c"}, ] [package.dependencies] -protobuf = ">=4.21.8" -types-protobuf = ">=3.20.4" +protobuf = ">=4.25.3" +types-protobuf = ">=4.24" [[package]] name = "orjson" @@ -961,50 +948,49 @@ files = [ [[package]] name = "pathspec" -version = "0.11.2" +version = "0.12.1" description = "Utility library for gitignore style pattern matching of file paths." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "pathspec-0.11.2-py3-none-any.whl", hash = "sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20"}, - {file = "pathspec-0.11.2.tar.gz", hash = "sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3"}, + {file = "pathspec-0.12.1-py3-none-any.whl", hash = "sha256:a0d503e138a4c123b27490a4f7beda6a01c6f288df0e4a8b79c7eb0dc7b4cc08"}, + {file = "pathspec-0.12.1.tar.gz", hash = "sha256:a482d51503a1ab33b1c67a6c3813a26953dbdc71c31dacaef9a838c4e29f5712"}, ] [[package]] name = "platformdirs" -version = "4.0.0" -description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +version = "4.2.2" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "platformdirs-4.0.0-py3-none-any.whl", hash = "sha256:118c954d7e949b35437270383a3f2531e99dd93cf7ce4dc8340d3356d30f173b"}, - {file = "platformdirs-4.0.0.tar.gz", hash = "sha256:cb633b2bcf10c51af60beb0ab06d2f1d69064b43abf4c185ca6b28865f3f9731"}, + {file = "platformdirs-4.2.2-py3-none-any.whl", hash = "sha256:2d7a1657e36a80ea911db832a8a6ece5ee53d8de21edd5cc5879af6530b1bfee"}, + {file = "platformdirs-4.2.2.tar.gz", hash = "sha256:38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3"}, ] [package.extras] -docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.1)", "sphinx-autodoc-typehints (>=1.24)"] -test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)"] +docs = ["furo (>=2023.9.10)", "proselint (>=0.13)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)"] +type = ["mypy (>=1.8)"] [[package]] name = "protobuf" -version = "4.24.4" +version = "4.25.3" description = "" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "protobuf-4.24.4-cp310-abi3-win32.whl", hash = "sha256:ec9912d5cb6714a5710e28e592ee1093d68c5ebfeda61983b3f40331da0b1ebb"}, - {file = "protobuf-4.24.4-cp310-abi3-win_amd64.whl", hash = "sha256:1badab72aa8a3a2b812eacfede5020472e16c6b2212d737cefd685884c191085"}, - {file = "protobuf-4.24.4-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:8e61a27f362369c2f33248a0ff6896c20dcd47b5d48239cb9720134bef6082e4"}, - {file = "protobuf-4.24.4-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:bffa46ad9612e6779d0e51ae586fde768339b791a50610d85eb162daeb23661e"}, - {file = "protobuf-4.24.4-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:b493cb590960ff863743b9ff1452c413c2ee12b782f48beca77c8da3e2ffe9d9"}, - {file = "protobuf-4.24.4-cp37-cp37m-win32.whl", hash = "sha256:dbbed8a56e56cee8d9d522ce844a1379a72a70f453bde6243e3c86c30c2a3d46"}, - {file = "protobuf-4.24.4-cp37-cp37m-win_amd64.whl", hash = "sha256:6b7d2e1c753715dcfe9d284a25a52d67818dd43c4932574307daf836f0071e37"}, - {file = "protobuf-4.24.4-cp38-cp38-win32.whl", hash = "sha256:02212557a76cd99574775a81fefeba8738d0f668d6abd0c6b1d3adcc75503dbe"}, - {file = "protobuf-4.24.4-cp38-cp38-win_amd64.whl", hash = "sha256:2fa3886dfaae6b4c5ed2730d3bf47c7a38a72b3a1f0acb4d4caf68e6874b947b"}, - {file = "protobuf-4.24.4-cp39-cp39-win32.whl", hash = "sha256:b77272f3e28bb416e2071186cb39efd4abbf696d682cbb5dc731308ad37fa6dd"}, - {file = "protobuf-4.24.4-cp39-cp39-win_amd64.whl", hash = "sha256:9fee5e8aa20ef1b84123bb9232b3f4a5114d9897ed89b4b8142d81924e05d79b"}, - {file = "protobuf-4.24.4-py3-none-any.whl", hash = "sha256:80797ce7424f8c8d2f2547e2d42bfbb6c08230ce5832d6c099a37335c9c90a92"}, - {file = "protobuf-4.24.4.tar.gz", hash = "sha256:5a70731910cd9104762161719c3d883c960151eea077134458503723b60e3667"}, + {file = "protobuf-4.25.3-cp310-abi3-win32.whl", hash = "sha256:d4198877797a83cbfe9bffa3803602bbe1625dc30d8a097365dbc762e5790faa"}, + {file = "protobuf-4.25.3-cp310-abi3-win_amd64.whl", hash = "sha256:209ba4cc916bab46f64e56b85b090607a676f66b473e6b762e6f1d9d591eb2e8"}, + {file = "protobuf-4.25.3-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:f1279ab38ecbfae7e456a108c5c0681e4956d5b1090027c1de0f934dfdb4b35c"}, + {file = "protobuf-4.25.3-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:e7cb0ae90dd83727f0c0718634ed56837bfeeee29a5f82a7514c03ee1364c019"}, + {file = "protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:7c8daa26095f82482307bc717364e7c13f4f1c99659be82890dcfc215194554d"}, + {file = "protobuf-4.25.3-cp38-cp38-win32.whl", hash = "sha256:f4f118245c4a087776e0a8408be33cf09f6c547442c00395fbfb116fac2f8ac2"}, + {file = "protobuf-4.25.3-cp38-cp38-win_amd64.whl", hash = "sha256:c053062984e61144385022e53678fbded7aea14ebb3e0305ae3592fb219ccfa4"}, + {file = "protobuf-4.25.3-cp39-cp39-win32.whl", hash = "sha256:19b270aeaa0099f16d3ca02628546b8baefe2955bbe23224aaf856134eccf1e4"}, + {file = "protobuf-4.25.3-cp39-cp39-win_amd64.whl", hash = "sha256:e3c97a1555fd6388f857770ff8b9703083de6bf1f9274a002a332d65fbb56c8c"}, + {file = "protobuf-4.25.3-py3-none-any.whl", hash = "sha256:f0700d54bcf45424477e46a9f0944155b46fb0639d69728739c0e47bab83f2b9"}, + {file = "protobuf-4.25.3.tar.gz", hash = "sha256:25b5d0b42fd000320bd7830b349e3b696435f3b329810427a6bcce6a5492cc5c"}, ] [[package]] @@ -1261,19 +1247,18 @@ jupyter = ["ipywidgets (>=7.5.1,<9)"] [[package]] name = "setuptools" -version = "68.0.0" +version = "70.0.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "setuptools-68.0.0-py3-none-any.whl", hash = "sha256:11e52c67415a381d10d6b462ced9cfb97066179f0e871399e006c4ab101fc85f"}, - {file = "setuptools-68.0.0.tar.gz", hash = "sha256:baf1fdb41c6da4cd2eae722e135500da913332ab3f2f5c7d33af9b492acb5235"}, + {file = "setuptools-70.0.0-py3-none-any.whl", hash = "sha256:54faa7f2e8d2d11bcd2c07bed282eef1046b5c080d1c32add737d7b5817b1ad4"}, + {file = "setuptools-70.0.0.tar.gz", hash = "sha256:f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0"}, ] [package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] -testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "pyproject-hooks (!=1.1)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "importlib-metadata", "ini2toml[lite] (>=0.14)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "mypy (==1.9)", "packaging (>=23.2)", "pip (>=19.1)", "pyproject-hooks (!=1.1)", "pytest (>=6,!=8.1.1)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-subprocess", "pytest-timeout", "pytest-xdist (>=3)", "tomli", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] [[package]] name = "shellingham" @@ -1345,13 +1330,13 @@ typing-extensions = ">=3.7.4.3" [[package]] name = "types-protobuf" -version = "4.24.0.4" +version = "5.26.0.20240422" description = "Typing stubs for protobuf" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "types-protobuf-4.24.0.4.tar.gz", hash = "sha256:57ab42cb171dfdba2c74bb5b50c250478538cc3c5ed95b8b368929ad0c9f90a5"}, - {file = "types_protobuf-4.24.0.4-py3-none-any.whl", hash = "sha256:131ab7d0cbc9e444bc89c994141327dcce7bcaeded72b1acb72a94827eb9c7af"}, + {file = "types-protobuf-5.26.0.20240422.tar.gz", hash = "sha256:e6074178109f97efe9f0b20a035ba61d7c3b03e867eb47d254d2b2ab6a805e36"}, + {file = "types_protobuf-5.26.0.20240422-py3-none-any.whl", hash = "sha256:e4dc2554d342501d5aebc3c71203868b51118340e105fc190e3a64ca1be43831"}, ] [[package]] @@ -1693,4 +1678,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.8,<4.0" -content-hash = "3e650877de869aafd7526d6fd6a80fea797eff7d049420578f90e4d4e8b8c695" +content-hash = "198c139425222490743dd3cc685e189f8569da8ad63545dcd69beffa4cb0daa6" diff --git a/pyproject.toml b/pyproject.toml index cd9ec6f..1665c8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ include = ["esdbclient/py.typed"] [tool.poetry.dependencies] python = ">=3.8,<4.0" -grpcio = ">=1.51.0,!=1.52.*" # 1.52.0 hangs on fork +grpcio = ">=1.51.0,!=1.52.*,<1.63" # 1.52.0 hangs on fork protobuf = ">=3.11.0" #protobuf = "^4.21.0" #protobuf = ">=3.11.0,<3.21.0"