@@ -5126,9 +5126,8 @@ def hexpire(
51265126 lt: Set expiry only when the new expiry is less than the current one.
51275127
51285128 Returns:
5129- If the key does not exist, returns an empty list. If the key exists, returns
5130- a list which contains for each field in the request:
5131- - `-2` if the field does not exist.
5129+ Returns a list which contains for each field in the request:
5130+ - `-2` if the field does not exist, or if the key does not exist.
51325131 - `0` if the specified NX | XX | GT | LT condition was not met.
51335132 - `1` if the expiration time was set or updated.
51345133 - `2` if the field was deleted because the specified expiration time is
@@ -5187,9 +5186,8 @@ def hpexpire(
51875186 lt: Set expiry only when the new expiry is less than the current one.
51885187
51895188 Returns:
5190- If the key does not exist, returns an empty list. If the key exists, returns
5191- a list which contains for each field in the request:
5192- - `-2` if the field does not exist.
5189+ Returns a list which contains for each field in the request:
5190+ - `-2` if the field does not exist, or if the key does not exist.
51935191 - `0` if the specified NX | XX | GT | LT condition was not met.
51945192 - `1` if the expiration time was set or updated.
51955193 - `2` if the field was deleted because the specified expiration time is
@@ -5248,9 +5246,8 @@ def hexpireat(
52485246 lt: Set expiry only when the new expiry is less than the current one.
52495247
52505248 Returns:
5251- If the key does not exist, returns an empty list. If the key exists, returns
5252- a list which contains for each field in the request:
5253- - `-2` if the field does not exist.
5249+ Returns a list which contains for each field in the request:
5250+ - `-2` if the field does not exist, or if the key does not exist.
52545251 - `0` if the specified NX | XX | GT | LT condition was not met.
52555252 - `1` if the expiration time was set or updated.
52565253 - `2` if the field was deleted because the specified expiration time is
@@ -5315,9 +5312,8 @@ def hpexpireat(
53155312 lt: Set expiry only when the new expiry is less than the current one.
53165313
53175314 Returns:
5318- If the key does not exist, returns an empty list. If the key exists, returns
5319- a list which contains for each field in the request:
5320- - `-2` if the field does not exist.
5315+ Returns a list which contains for each field in the request:
5316+ - `-2` if the field does not exist, or if the key does not exist.
53215317 - `0` if the specified NX | XX | GT | LT condition was not met.
53225318 - `1` if the expiration time was set or updated.
53235319 - `2` if the field was deleted because the specified expiration time is
@@ -5362,9 +5358,8 @@ def hpersist(self, name: KeyT, *fields: str) -> ResponseT:
53625358 expiration time.
53635359
53645360 Returns:
5365- If the key does not exist, returns an empty list. If the key exists, returns
5366- a list which contains for each field in the request:
5367- - `-2` if the field does not exist.
5361+ Returns a list which contains for each field in the request:
5362+ - `-2` if the field does not exist, or if the key does not exist.
53685363 - `-1` if the field exists but has no associated expiration time.
53695364 - `1` if the expiration time was successfully removed from the field.
53705365 """
@@ -5382,9 +5377,8 @@ def hexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53825377 time.
53835378
53845379 Returns:
5385- If the key does not exist, returns an empty list. If the key exists, returns
5386- a list which contains for each field in the request:
5387- - `-2` if the field does not exist.
5380+ Returns a list which contains for each field in the request:
5381+ - `-2` if the field does not exist, or if the key does not exist.
53885382 - `-1` if the field exists but has no associated expire time.
53895383 - A positive integer representing the expiration Unix timestamp in
53905384 seconds, if the field has an associated expiration time.
@@ -5405,9 +5399,8 @@ def hpexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
54055399 time.
54065400
54075401 Returns:
5408- If the key does not exist, returns an empty list. If the key exists, returns
5409- a list which contains for each field in the request:
5410- - `-2` if the field does not exist.
5402+ Returns a list which contains for each field in the request:
5403+ - `-2` if the field does not exist, or if the key does not exist.
54115404 - `-1` if the field exists but has no associated expire time.
54125405 - A positive integer representing the expiration Unix timestamp in
54135406 milliseconds, if the field has an associated expiration time.
@@ -5428,9 +5421,8 @@ def httl(self, key: KeyT, *fields: str) -> ResponseT:
54285421 fields: A list of fields within the hash for which to get the TTL.
54295422
54305423 Returns:
5431- If the key does not exist, returns an empty list. If the key exists, returns
5432- a list which contains for each field in the request:
5433- - `-2` if the field does not exist.
5424+ Returns a list which contains for each field in the request:
5425+ - `-2` if the field does not exist, or if the key does not exist.
54345426 - `-1` if the field exists but has no associated expire time.
54355427 - A positive integer representing the TTL in seconds if the field has
54365428 an associated expiration time.
@@ -5451,9 +5443,8 @@ def hpttl(self, key: KeyT, *fields: str) -> ResponseT:
54515443 fields: A list of fields within the hash for which to get the TTL.
54525444
54535445 Returns:
5454- If the key does not exist, returns an empty list. If the key exists, returns
5455- a list which contains for each field in the request:
5456- - `-2` if the field does not exist.
5446+ Returns a list which contains for each field in the request:
5447+ - `-2` if the field does not exist, or if the key does not exist.
54575448 - `-1` if the field exists but has no associated expire time.
54585449 - A positive integer representing the TTL in milliseconds if the field
54595450 has an associated expiration time.
0 commit comments