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

Class AggregateResult

redis/commands/search/aggregation.py:388–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386
387
388class AggregateResult:
389 def __init__(self, rows, cursor: Cursor, schema, total=0, warnings=None) -> None:
390 self.rows = rows
391 self.cursor = cursor
392 self.schema = schema
393 self.total = total
394 self.warnings = warnings or []
395
396 def __repr__(self) -> str:
397 cid = self.cursor.cid if self.cursor else -1
398 return (
399 f"<{self.__class__.__name__} at 0x{id(self):x} "
400 f"Rows={len(self.rows)}, Cursor={cid}>"
401 )

Callers 2

_get_aggregate_resultMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected