o
    ,ÂifŒ  ã                   @   s8   d dl mZ d dlmZ d dlmZ G dd„ deƒZdS )é    )ÚClientValue)ÚClientValueCollection)ÚSearchBucketc                   @   s   e Zd ZdZddd„ZdS )ÚSearchAggregationzFProvides the details of the search aggregation in the search response.Nc                 C   s   t t|ƒ| _|| _dS )z¾
        :param list[SearchBucket] buckets: Defines the actual buckets of the computed aggregation.
        :param str field: Defines on which field the aggregation was computed on.
        N)r   r   ÚbucketsÚfield)Úselfr   r   © r	   úU/var/www/html/corbot_env/lib/python3.10/site-packages/office365/search/aggregation.pyÚ__init__	   s   
zSearchAggregation.__init__)NN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r	   r	   r	   r
   r      s    r   N)Úoffice365.runtime.client_valuer   Ú)office365.runtime.client_value_collectionr   Úoffice365.search.bucketr   r   r	   r	   r	   r
   Ú<module>   s    