class_docstr: Aggregation request which can be passed to `Client.aggregate`.
class_docstr_tok: ["Aggregation","request","which","can","be","passed","to","`","Client.aggregate","`","."]
docstr: Add a dialect field to the aggregate command.
  
  - **dialect** - dialect version to execute the query under
docstr_tok: ["Add","a","dialect","field","to","the","aggregate","command",".","-","*","*","dialect","*","*","-","dialect","version","to","execute","the","query","under"]
code: def dialect(self, dialect: int) -> "AggregateRequest":
      """
      Add a dialect field to the aggregate command.
  
      - **dialect** - dialect version to execute the query under
      """
      self._dialect = dialect
      return self
  
imports: from typing import List, Union
label_desc: Use image node_id 12 for calling the AggregateRequest obj's underlying member method code with example usage: obj.dialect(dialect) and returns: self