in elasticsearch/dsl/aggs.py [0:0]
def __init__(
self,
*,
collect_mode: Union[
Literal["depth_first", "breadth_first"], "DefaultType"
] = DEFAULT,
exclude: Union[str, Sequence[str], "DefaultType"] = DEFAULT,
execution_hint: Union[
Literal[
"map",
"global_ordinals",
"global_ordinals_hash",
"global_ordinals_low_cardinality",
],
"DefaultType",
] = DEFAULT,
field: Union[str, "InstrumentedField", "DefaultType"] = DEFAULT,
include: Union[
str, Sequence[str], "types.TermsPartition", Dict[str, Any], "DefaultType"
] = DEFAULT,
min_doc_count: Union[int, "DefaultType"] = DEFAULT,
missing: Union[str, int, float, bool, "DefaultType"] = DEFAULT,
missing_order: Union[
Literal["first", "last", "default"], "DefaultType"
] = DEFAULT,
missing_bucket: Union[bool, "DefaultType"] = DEFAULT,
value_type: Union[str, "DefaultType"] = DEFAULT,
order: Union[
Mapping[Union[str, "InstrumentedField"], Literal["asc", "desc"]],
Sequence[Mapping[Union[str, "InstrumentedField"], Literal["asc", "desc"]]],
"DefaultType",
] = DEFAULT,
script: Union["types.Script", Dict[str, Any], "DefaultType"] = DEFAULT,
shard_min_doc_count: Union[int, "DefaultType"] = DEFAULT,
shard_size: Union[int, "DefaultType"] = DEFAULT,
show_term_doc_count_error: Union[bool, "DefaultType"] = DEFAULT,
size: Union[int, "DefaultType"] = DEFAULT,
format: Union[str, "DefaultType"] = DEFAULT,
**kwargs: Any,