Skip to content

Commit 058710b

Browse files
committed
fix: review
1 parent 24a9dcf commit 058710b

File tree

5 files changed

+12
-11
lines changed

5 files changed

+12
-11
lines changed

mint.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
"redis/sdks/ts/commands/hash/hrandfield",
250250
"redis/sdks/ts/commands/hash/hscan",
251251
"redis/sdks/ts/commands/hash/hset",
252-
"redis/sdks/ts/commands/hash/persist",
252+
"redis/sdks/ts/commands/hash/hpersist",
253253
"redis/sdks/ts/commands/hash/hpexpire",
254254
"redis/sdks/ts/commands/hash/hpexpireat",
255255
"redis/sdks/ts/commands/hash/hpexpiretime",
@@ -475,8 +475,8 @@
475475
"redis/sdks/py/commands/hash/hdel",
476476
"redis/sdks/py/commands/hash/hexists",
477477
"redis/sdks/py/commands/hash/hexpire",
478-
"redis/sdks/ts/commands/hash/hexpireat",
479-
"redis/sdks/ts/commands/hash/hexpiretime",
478+
"redis/sdks/py/commands/hash/hexpireat",
479+
"redis/sdks/py/commands/hash/hexpiretime",
480480
"redis/sdks/py/commands/hash/hget",
481481
"redis/sdks/py/commands/hash/hgetall",
482482
"redis/sdks/py/commands/hash/hincrby",
@@ -487,15 +487,15 @@
487487
"redis/sdks/py/commands/hash/hrandfield",
488488
"redis/sdks/py/commands/hash/hscan",
489489
"redis/sdks/py/commands/hash/hset",
490-
"redis/sdks/ts/commands/hash/persist",
491-
"redis/sdks/ts/commands/hash/hpexpire",
492-
"redis/sdks/ts/commands/hash/hpexpireat",
493-
"redis/sdks/ts/commands/hash/hpexpiretime",
494-
"redis/sdks/ts/commands/hash/hpttl",
490+
"redis/sdks/py/commands/hash/hpersist",
491+
"redis/sdks/py/commands/hash/hpexpire",
492+
"redis/sdks/py/commands/hash/hpexpireat",
493+
"redis/sdks/py/commands/hash/hpexpiretime",
494+
"redis/sdks/py/commands/hash/hpttl",
495495
"redis/sdks/py/commands/hash/hmset",
496496
"redis/sdks/py/commands/hash/hsetnx",
497497
"redis/sdks/py/commands/hash/hstrlen",
498-
"redis/sdks/ts/commands/hash/httl",
498+
"redis/sdks/py/commands/hash/httl",
499499
"redis/sdks/py/commands/hash/hvals"
500500
]
501501
},

redis/sdks/py/commands/hash/hexpireat.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ description: Sets an expiration time for field(s) in a hash in seconds since the
4747
<RequestExample>
4848
```py Example
4949
redis.hset(hash_name, field, value)
50+
5051
assert redis.hexpireat(hash_name, field, int(time.time()) + 10) == [1]
5152
```
5253
</RequestExample>

redis/sdks/py/commands/hash/hkeys.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,5 @@ redis.hset("myhash", values={
2424
})
2525

2626
assert redis.hkeys("myhash") == ["field1", "field2"]
27-
2827
```
2928
</RequestExample>

redis/sdks/py/commands/hash/hpexpireat.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ description: Sets an expiration time for field(s) in a hash in milliseconds sinc
4747
<RequestExample>
4848
```py Example
4949
redis.hset(hash_name, field, value)
50+
5051
assert redis.hpexpireat(hash_name, field, int(time.time() * 1000) + 1000) == [1]
5152
```
5253
</RequestExample>

redis/sdks/ts/commands/hash/hpexpire.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: Sets an expiration time for a field in a hash in milliseconds.
1010
</ParamField>
1111

1212
<ParamField body="fields" type="string" required>
13-
The field(s) to set an expiration time for.
13+
The field or list of fields within the hash to set the expiry for.
1414
</ParamField>
1515

1616
<ParamField body="milliseconds" type="number" required>

0 commit comments

Comments
 (0)