MCPcopy
hub / github.com/redis/redis-py / max

Class max

redis/commands/search/reducers.py:47–55  ·  view source on GitHub ↗

Calculates the largest value in the given field within the group

Source from the content-addressed store, hash-verified

45
46
47class max(FieldOnlyReducer):
48 """
49 Calculates the largest value in the given field within the group
50 """
51
52 NAME = "MAX"
53
54 def __init__(self, field: str) -> None:
55 super().__init__(field)
56
57
58class avg(FieldOnlyReducer):

Callers 15

_wait_for_callsMethod · 0.85
_wait_for_calls_asyncMethod · 0.85
tracking_health_checkMethod · 0.85
get_messageMethod · 0.85
__repr__Method · 0.85
__repr__Method · 0.85
__repr__Method · 0.85
__repr__Method · 0.85
__repr__Method · 0.85
__repr__Method · 0.85
__repr__Method · 0.85
computeMethod · 0.85

Calls

no outgoing calls

Tested by 3

_wait_for_callsMethod · 0.68
_wait_for_calls_asyncMethod · 0.68
tracking_health_checkMethod · 0.68