You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/python/glide/async_commands/core.py
+16-10Lines changed: 16 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -2297,14 +2297,15 @@ async def bzpopmax(
2297
2297
self, keys: List[str], timeout: float
2298
2298
) ->Optional[List[Union[str, float]]]:
2299
2299
"""
2300
-
Blocks the connection until it removes and returns a member with the highest score from the first non-empty
2301
-
sorted set, with the given keys being checked in the order they are provided.
2300
+
Pops the member with the highest score from the first non-empty sorted set, with the given keys being checked in
2301
+
the order that they are given. Blocks the connection when there are no members to remove from any of the given
2302
+
sorted sets.
2302
2303
2303
2304
When in cluster mode, all keys must map to the same hash slot.
2304
2305
2305
-
BZPOPMAX is the blocking variant of ZPOPMAX.
2306
+
`BZPOPMAX` is the blocking variant of `ZPOPMAX`.
2306
2307
2307
-
BZPOPMAX is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
2308
+
`BZPOPMAX` is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
2308
2309
2309
2310
See https://valkey.io/commands/bzpopmax for more details.
2310
2311
@@ -2318,8 +2319,10 @@ async def bzpopmax(
2318
2319
and the member score. If no member could be popped and the `timeout` expired, returns None.
['my_sorted_set1', 'member1', 10.0] # 'member1' with a score of 10.0 has been removed from 'my_sorted_set'.
2325
+
['my_sorted_set1', 'member1', 10.0] # "member1" with a score of 10.0 has been removed from "my_sorted_set1".
2323
2326
"""
2324
2327
returncast(
2325
2328
Optional[List[Union[str, float]]],
@@ -2362,14 +2365,15 @@ async def bzpopmin(
2362
2365
self, keys: List[str], timeout: float
2363
2366
) ->Optional[List[Union[str, float]]]:
2364
2367
"""
2365
-
Blocks the connection until it removes and returns a member with the lowest score from the first non-empty
2366
-
sorted set, with the given keys being checked in the order they are provided.
2368
+
Pops the member with the lowest score from the first non-empty sorted set, with the given keys being checked in
2369
+
the order that they are given. Blocks the connection when there are no members to remove from any of the given
2370
+
sorted sets.
2367
2371
2368
2372
When in cluster mode, all keys must map to the same hash slot.
2369
2373
2370
-
BZPOPMIN is the blocking variant of ZPOPMIN.
2374
+
`BZPOPMIN` is the blocking variant of `ZPOPMIN`.
2371
2375
2372
-
BZPOPMIN is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
2376
+
`BZPOPMIN` is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
2373
2377
2374
2378
See https://valkey.io/commands/bzpopmin for more details.
2375
2379
@@ -2383,8 +2387,10 @@ async def bzpopmin(
2383
2387
and the member score. If no member could be popped and the `timeout` expired, returns None.
Blocks the connection until it removes and returns a member with the highest score from the first non-empty
1632
-
sorted set, with the given keys being checked in the order they are provided.
1631
+
Pops the member with the highest score from the first non-empty sorted set, with the given keys being checked in
1632
+
the order that they are given. Blocks the connection when there are no members to remove from any of the given
1633
+
sorted sets.
1633
1634
1634
-
BZPOPMAX is the blocking variant of ZPOPMAX.
1635
+
`BZPOPMAX` is the blocking variant of `ZPOPMAX`.
1635
1636
1636
-
BZPOPMAX is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
1637
+
`BZPOPMAX` is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
1637
1638
1638
1639
See https://valkey.io/commands/bzpopmax for more details.
Blocks the connection until it removes and returns a member with the lowest score from the first non-empty
1677
-
sorted set, with the given keys being checked in the order they are provided.
1677
+
Pops the member with the lowest score from the first non-empty sorted set, with the given keys being checked in
1678
+
the order that they are given. Blocks the connection when there are no members to remove from any of the given
1679
+
sorted sets.
1678
1680
1679
-
BZPOPMIN is the blocking variant of ZPOPMIN.
1681
+
`BZPOPMIN` is the blocking variant of `ZPOPMIN`.
1680
1682
1681
-
BZPOPMIN is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
1683
+
`BZPOPMIN` is a client blocking command, see https://github.com/aws/glide-for-redis/wiki/General-Concepts#blocking-commands for more details and best practices.
1682
1684
1683
1685
See https://valkey.io/commands/bzpopmin for more details.
0 commit comments