o
    ¾¿i/  ã                   @   sH   d dl mZ d dlmZmZmZmZ eG dd„ dƒƒZG dd„ dƒZdS )é    )Ú	dataclass)ÚAnyÚDictÚListÚUnionc                   @   sJ   e Zd ZU dZeed< eeee	f  ed< ee
eef  ed< eed< dS )ÚHybridResultzŠ
    Represents the result of a hybrid search query execution
    Returned by the `hybrid_search` command, when using RESP version 2.
    Útotal_resultsÚresultsÚwarningsÚexecution_timeN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ÚintÚ__annotations__r   r   Ústrr   r   ÚbytesÚfloat© r   r   úW/home/ubuntu/.local/lib/python3.10/site-packages/redis/commands/search/hybrid_result.pyr      s   
 r   c                   @   s"   e Zd Zdededdfdd„ZdS )ÚHybridCursorResultÚsearch_cursor_idÚvsim_cursor_idÚreturnNc                 C   s   || _ || _dS )zÞ
        Represents the result of a hybrid search query execution with cursor

        search_cursor_id: int - cursor id for the search query
        vsim_cursor_id: int - cursor id for the vector similarity query
        N)r   r   )Úselfr   r   r   r   r   Ú__init__   s   
zHybridCursorResult.__init__)r   r   r   r   r   r   r   r   r   r      s    r   N)	Údataclassesr   Útypingr   r   r   r   r   r   r   r   r   r   Ú<module>   s
    