Skip to content

Commit 8ea79c0

Browse files
committed
docs: hide unsupported commands
Do not document commands that Valkey doesn't support. These commands should be completely removed in 7.0 Signed-off-by: Salvatore Mesoraca <[email protected]>
1 parent fd7a56a commit 8ea79c0

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

valkey/commands/core.py

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5103,6 +5103,10 @@ def hexpire(
51035103
lt: bool = False,
51045104
) -> ResponseT:
51055105
"""
5106+
:meta private:
5107+
5108+
Command not available in Valkey
5109+
51065110
Sets or updates the expiration time for fields within a hash key, using relative
51075111
time in seconds.
51085112
@@ -5164,6 +5168,10 @@ def hpexpire(
51645168
lt: bool = False,
51655169
) -> ResponseT:
51665170
"""
5171+
:meta private:
5172+
5173+
Command not available in Valkey
5174+
51675175
Sets or updates the expiration time for fields within a hash key, using relative
51685176
time in milliseconds.
51695177
@@ -5225,6 +5233,10 @@ def hexpireat(
52255233
lt: bool = False,
52265234
) -> ResponseT:
52275235
"""
5236+
:meta private:
5237+
5238+
Command not available in Valkey
5239+
52285240
Sets or updates the expiration time for fields within a hash key, using an
52295241
absolute Unix timestamp in seconds.
52305242
@@ -5292,6 +5304,10 @@ def hpexpireat(
52925304
lt: bool = False,
52935305
) -> ResponseT:
52945306
"""
5307+
:meta private:
5308+
5309+
Command not available in Valkey
5310+
52955311
Sets or updates the expiration time for fields within a hash key, using an
52965312
absolute Unix timestamp in milliseconds.
52975313
@@ -5350,6 +5366,10 @@ def hpexpireat(
53505366

53515367
def hpersist(self, name: KeyT, *fields: str) -> ResponseT:
53525368
"""
5369+
:meta private:
5370+
5371+
Command not available in Valkey
5372+
53535373
Removes the expiration time for each specified field in a hash.
53545374
53555375
For more information, see https://redis.io/commands/hpersist
@@ -5370,6 +5390,10 @@ def hpersist(self, name: KeyT, *fields: str) -> ResponseT:
53705390

53715391
def hexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53725392
"""
5393+
:meta private:
5394+
5395+
Command not available in Valkey
5396+
53735397
Returns the expiration times of hash fields as Unix timestamps in seconds.
53745398
53755399
For more information, see https://redis.io/commands/hexpiretime
@@ -5393,6 +5417,10 @@ def hexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53935417

53945418
def hpexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53955419
"""
5420+
:meta private:
5421+
5422+
Command not available in Valkey
5423+
53965424
Returns the expiration times of hash fields as Unix timestamps in milliseconds.
53975425
53985426
For more information, see https://redis.io/commands/hpexpiretime
@@ -5416,6 +5444,10 @@ def hpexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
54165444

54175445
def httl(self, key: KeyT, *fields: str) -> ResponseT:
54185446
"""
5447+
:meta private:
5448+
5449+
Command not available in Valkey
5450+
54195451
Returns the TTL (Time To Live) in seconds for each specified field within a hash
54205452
key.
54215453
@@ -5439,6 +5471,10 @@ def httl(self, key: KeyT, *fields: str) -> ResponseT:
54395471

54405472
def hpttl(self, key: KeyT, *fields: str) -> ResponseT:
54415473
"""
5474+
:meta private:
5475+
5476+
Command not available in Valkey
5477+
54425478
Returns the TTL (Time To Live) in milliseconds for each specified field within a
54435479
hash key.
54445480

0 commit comments

Comments
 (0)