Redis NamespaceΒΆ

Namespace: Redis.

class zlogging.enum.redis.RedisCommand(*values)[source]

Bases: IntFlag

Enum: Redis::RedisCommand.

RedisCommand_APPEND = 1
RedisCommand_AUTH = 2
RedisCommand_BITCOUNT = 4
RedisCommand_BITFIELD = 8
RedisCommand_BITFIELD_RO = 16
RedisCommand_BITOP = 32
RedisCommand_BITPOS = 64
RedisCommand_BLMPOP = 128
RedisCommand_BLPOP = 256
RedisCommand_BRPOP = 512
RedisCommand_CLIENT = 1024
RedisCommand_COPY = 2048
RedisCommand_DECR = 4096
RedisCommand_DECRBY = 8192
RedisCommand_DEL = 16384
RedisCommand_DUMP = 32768
RedisCommand_EXISTS = 65536
RedisCommand_EXPIRE = 131072
RedisCommand_EXPIREAT = 262144
RedisCommand_EXPIRETIME = 524288
RedisCommand_GET = 1048576
RedisCommand_GETBIT = 2097152
RedisCommand_GETDEL = 4194304
RedisCommand_GETEX = 8388608
RedisCommand_GETRANGE = 16777216
RedisCommand_GETSET = 33554432
RedisCommand_HDEL = 67108864
RedisCommand_HELLO = 134217728
RedisCommand_HGET = 268435456
RedisCommand_HSET = 536870912
RedisCommand_INCR = 1073741824
RedisCommand_INCRBY = 2147483648
RedisCommand_KEYS = 4294967296
RedisCommand_MGET = 8589934592
RedisCommand_MOVE = 17179869184
RedisCommand_MSET = 34359738368
RedisCommand_PERSIST = 68719476736
RedisCommand_PSUBSCRIBE = 137438953472
RedisCommand_PUNSUBSCRIBE = 274877906944
RedisCommand_QUIT = 549755813888
RedisCommand_RENAME = 1099511627776
RedisCommand_RESET = 2199023255552
RedisCommand_SET = 4398046511104
RedisCommand_STRLEN = 8796093022208
RedisCommand_SUBSCRIBE = 17592186044416
RedisCommand_SSUBSCRIBE = 35184372088832
RedisCommand_SUNSUBSCRIBE = 70368744177664
RedisCommand_TTL = 140737488355328
RedisCommand_TYPE = 281474976710656
RedisCommand_UNSUBSCRIBE = 562949953421312
RedisCommand_Undef = 1125899906842624
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None

class zlogging.enum.redis.ReplyType(*values)[source]

Bases: IntFlag

Enum: Redis::ReplyType.

ReplyType_Reply = 1
ReplyType_Error = 2
ReplyType_Push = 4
ReplyType_Undef = 8
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None