Skip to content

Bucket

Source code in docs_src/capo_iot/types/bucket.py
class Bucket(TypedDict, closed=True):
    key_value: NotRequired["capo_iot.types.bucket_key_value.BucketKeyValue"]
    """<p>The value counted for the particular bucket.</p>"""
    count: "capo_iot.types.count.Count"
    """<p>The number of documents that have the value counted for the particular bucket.</p>"""

count instance-attribute

count: Count

The number of documents that have the value counted for the particular bucket.

key_value instance-attribute

key_value: NotRequired[BucketKeyValue]

The value counted for the particular bucket.