jazzband/django-redis

Support redis-py 4.0.2 Hash ops in django-redis

Open

#766 aberto em 13 de mar. de 2025

Ver no GitHub
 (0 comments) (2 reactions) (0 assignees)Python (452 forks)auto 404
good first issue

Métricas do repositório

Stars
 (3.075 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Problem Statement

django-redis doesn’t implement all the hash commands available in redis-py (4.0.2). I plan to work on implementing the missing commands, I’d appreciate any feedback on this proposal, especially regarding potential edge cases or test strategies.

Additional context

Currently supported hash commands

Hash Command django-redis redis-py 4.0.2 redis-py 5.2.0
HDEL V V V
HEXISTS V V V
HGET V V
HGETALL V V
HINCRBY V V
HINCRBYFLOAT V V
HKEYS V V V
HLEN V V V
HSET V V V
HSETNX V V
HMSET V V
HMGET V V
HVALS V V
HSTRLEN V V
HEXPIRE V
HPEXPIRE V
HEXPIREAT V
HPEXPIREAT V
HPERSIST V
HEXPIRETIME V
HPEXPIRETIME V
HTTL V
HPTTL V

related issue:

  • #736
  • #741
  • #373

Guia do colaborador