
    /
i/                     n    d dl mZ d dlmZmZmZmZ e G d d                      Z G d d          ZdS )    )	dataclass)AnyDictListUnionc                   t    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     C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\redis/commands/search/hybrid_result.pyr	   r	      si          
 $sCx.!!!!5e$%%%%r   r	   c                   "    e Zd ZdededdfdZdS )HybridCursorResultsearch_cursor_idvsim_cursor_idreturnNc                 "    || _         || _        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   s      r   __init__zHybridCursorResult.__init__   s     !1,r   )r   r   r   r   r!   r   r   r   r   r      s=        - -c -d - - - - - -r   r   N)	dataclassesr   typingr   r   r   r   r	   r   r   r   r   <module>r$      s    ! ! ! ! ! ! ) ) ) ) ) ) ) ) ) ) ) ) 	 	 	 	 	 	 	 		- 	- 	- 	- 	- 	- 	- 	- 	- 	-r   