proxystore.endpoint.messages¶
Endpoint to endpoint messages.
EndpointRequest
dataclass
¶
Message type for requests between endpoints.
Attributes:
-
kind
(
Literal['request', 'response']
) –One of
'request'
or'response'
. -
op
(
Literal['evict', 'exists', 'get', 'set']
) –One of
'evict'
,'exists'
,'get'
, or'set'
. -
uuid
(
str
) –UUID of sender.
-
key
(
str
) –Key to operate on.
-
data
(
bytes | None
) –Optional data to operate on.
-
exists
(
bool | None
) –Result of
exists
operation. -
error
(
Exception | None
) –Error raised by operation.