class_docstr: Aggregation request which can be passed to `Client.aggregate`.
class_docstr_tok: ["Aggregation","request","which","can","be","passed","to","`","Client.aggregate","`","."]
code: def cursor(
      self, count: int = 0, max_idle: float = 0.0
  ) -> "AggregateRequest":
      args = ["WITHCURSOR"]
      if count:
          args += ["COUNT", str(count)]
      if max_idle:
          args += ["MAXIDLE", str(max_idle * 1000)]
      self._cursor = args
      return self
  
imports: from typing import List, Union
label_desc: Use image node_id 10 for calling the AggregateRequest obj's underlying member method code with example usage: obj.cursor(count, max_idle) and returns: self