Skip to content

proxystore.store.types

Common type definitions.

ConnectorT module-attribute

ConnectorT = TypeVar('ConnectorT', bound=Connector[Any])

Connector type variable.

ConnectorKeyT module-attribute

ConnectorKeyT = tuple[Any, ...]

Connector key type alias.

SerializerT module-attribute

SerializerT = Callable[[Any], BytesLike]

Serializer type alias.

DeserializerT module-attribute

DeserializerT = Callable[[BytesLike], Any]

Deserializer type alias.

CacheModeT module-attribute

CacheModeT = Literal['objects', 'bytes']

Store cache mode type alias.