aggs

class opensearchpy.helpers.aggs.Agg(_expand__to_dot=True, **params)[source]

Bases: DslBase

Parameters:
  • _expand__to_dot (Any) –

  • params (Any) –

to_dict()[source]

Serialize the DSL object to plain dict

Return type:

Any