nat.plugins.redis.object_store#

Classes#

RedisObjectStoreClientConfig

Object store that stores objects in a Redis database.

Functions#

redis_object_store_client(config, _builder)

Module Contents#

class RedisObjectStoreClientConfig(/, **data: Any)#

Bases: nat.data_models.object_store.ObjectStoreBaseConfig

Object store that stores objects in a Redis database.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

host: str = None#
db: int = None#
port: int = None#
bucket_name: str = None#
async redis_object_store_client(
config: RedisObjectStoreClientConfig,
_builder: nat.builder.builder.Builder,
)#