@@ -5119,9 +5119,8 @@ def hexpire(
51195119 lt: Set expiry only when the new expiry is less than the current one.
51205120
51215121 Returns:
5122- If the key does not exist, returns an empty list. If the key exists, returns
5123- a list which contains for each field in the request:
5124- - `-2` if the field does not exist.
5122+ Returns a list which contains for each field in the request:
5123+ - `-2` if the field does not exist, or if the key does not exist.
51255124 - `0` if the specified NX | XX | GT | LT condition was not met.
51265125 - `1` if the expiration time was set or updated.
51275126 - `2` if the field was deleted because the specified expiration time is
@@ -5180,9 +5179,8 @@ def hpexpire(
51805179 lt: Set expiry only when the new expiry is less than the current one.
51815180
51825181 Returns:
5183- If the key does not exist, returns an empty list. If the key exists, returns
5184- a list which contains for each field in the request:
5185- - `-2` if the field does not exist.
5182+ Returns a list which contains for each field in the request:
5183+ - `-2` if the field does not exist, or if the key does not exist.
51865184 - `0` if the specified NX | XX | GT | LT condition was not met.
51875185 - `1` if the expiration time was set or updated.
51885186 - `2` if the field was deleted because the specified expiration time is
@@ -5241,9 +5239,8 @@ def hexpireat(
52415239 lt: Set expiry only when the new expiry is less than the current one.
52425240
52435241 Returns:
5244- If the key does not exist, returns an empty list. If the key exists, returns
5245- a list which contains for each field in the request:
5246- - `-2` if the field does not exist.
5242+ Returns a list which contains for each field in the request:
5243+ - `-2` if the field does not exist, or if the key does not exist.
52475244 - `0` if the specified NX | XX | GT | LT condition was not met.
52485245 - `1` if the expiration time was set or updated.
52495246 - `2` if the field was deleted because the specified expiration time is
@@ -5308,9 +5305,8 @@ def hpexpireat(
53085305 lt: Set expiry only when the new expiry is less than the current one.
53095306
53105307 Returns:
5311- If the key does not exist, returns an empty list. If the key exists, returns
5312- a list which contains for each field in the request:
5313- - `-2` if the field does not exist.
5308+ Returns a list which contains for each field in the request:
5309+ - `-2` if the field does not exist, or if the key does not exist.
53145310 - `0` if the specified NX | XX | GT | LT condition was not met.
53155311 - `1` if the expiration time was set or updated.
53165312 - `2` if the field was deleted because the specified expiration time is
@@ -5355,9 +5351,8 @@ def hpersist(self, name: KeyT, *fields: str) -> ResponseT:
53555351 expiration time.
53565352
53575353 Returns:
5358- If the key does not exist, returns an empty list. If the key exists, returns
5359- a list which contains for each field in the request:
5360- - `-2` if the field does not exist.
5354+ Returns a list which contains for each field in the request:
5355+ - `-2` if the field does not exist, or if the key does not exist.
53615356 - `-1` if the field exists but has no associated expiration time.
53625357 - `1` if the expiration time was successfully removed from the field.
53635358 """
@@ -5375,9 +5370,8 @@ def hexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53755370 time.
53765371
53775372 Returns:
5378- If the key does not exist, returns an empty list. If the key exists, returns
5379- a list which contains for each field in the request:
5380- - `-2` if the field does not exist.
5373+ Returns a list which contains for each field in the request:
5374+ - `-2` if the field does not exist, or if the key does not exist.
53815375 - `-1` if the field exists but has no associated expire time.
53825376 - A positive integer representing the expiration Unix timestamp in
53835377 seconds, if the field has an associated expiration time.
@@ -5396,9 +5390,8 @@ def hpexpiretime(self, key: KeyT, *fields: str) -> ResponseT:
53965390 time.
53975391
53985392 Returns:
5399- If the key does not exist, returns an empty list. If the key exists, returns
5400- a list which contains for each field in the request:
5401- - `-2` if the field does not exist.
5393+ Returns a list which contains for each field in the request:
5394+ - `-2` if the field does not exist, or if the key does not exist.
54025395 - `-1` if the field exists but has no associated expire time.
54035396 - A positive integer representing the expiration Unix timestamp in
54045397 milliseconds, if the field has an associated expiration time.
@@ -5417,9 +5410,8 @@ def httl(self, key: KeyT, *fields: str) -> ResponseT:
54175410 fields: A list of fields within the hash for which to get the TTL.
54185411
54195412 Returns:
5420- If the key does not exist, returns an empty list. If the key exists, returns
5421- a list which contains for each field in the request:
5422- - `-2` if the field does not exist.
5413+ Returns a list which contains for each field in the request:
5414+ - `-2` if the field does not exist, or if the key does not exist.
54235415 - `-1` if the field exists but has no associated expire time.
54245416 - A positive integer representing the TTL in seconds if the field has
54255417 an associated expiration time.
@@ -5438,9 +5430,8 @@ def hpttl(self, key: KeyT, *fields: str) -> ResponseT:
54385430 fields: A list of fields within the hash for which to get the TTL.
54395431
54405432 Returns:
5441- If the key does not exist, returns an empty list. If the key exists, returns
5442- a list which contains for each field in the request:
5443- - `-2` if the field does not exist.
5433+ Returns a list which contains for each field in the request:
5434+ - `-2` if the field does not exist, or if the key does not exist.
54445435 - `-1` if the field exists but has no associated expire time.
54455436 - A positive integer representing the TTL in milliseconds if the field
54465437 has an associated expiration time.
0 commit comments