Skip to main content

RedisClientMixin

Mixin class for Redis clients.

This mixin provides common Redis operations and basic methods for Redis storage clients.

Hierarchy

Index

Methods

Properties

Methods

__init__

  • __init__(storage_name, storage_id, redis): None
  • Parameters

    • storage_name: str
    • storage_id: str
    • redis: Redis

    Returns None

Properties

metadata_key

metadata_key: str

Return the Redis key for the metadata of this storage.

redis

redis: Redis

Return the Redis client instance.

Page Options