o
    i                     @   sR   d dl Z zd dl mZ W n ey   d dlmZ Y nw G dd de jddZdS )    N)NotRequiredc                   @   s~   e Zd ZU dZee ed< ee ed< eeje	ej
f  ed< eeje	ej
f  ed< eeje	ej
f  ed< ee ed< dS )	RequestOptionsaA  
    Additional options for request-specific configuration when calling APIs via the SDK.
    This is used primarily as an optional final parameter for service functions.

    Attributes:
        - timeout_in_seconds: int. The number of seconds to await an API call before timing out.

        - max_retries: int. The max number of retries to attempt if the API call fails.

        - additional_headers: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's header dict

        - additional_query_parameters: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's query parameters dict

        - additional_body_parameters: typing.Dict[str, typing.Any]. A dictionary containing additional parameters to spread into the request's body parameters dict

        - chunk_size: int. The size, in bytes, to process each chunk of data being streamed back within the response. This equates to leveraging `chunk_size` within `requests` or `httpx`, and is only leveraged for file downloads.
    timeout_in_secondsmax_retriesadditional_headersadditional_query_parametersadditional_body_parameters
chunk_sizeN)__name__
__module____qualname____doc__r   int__annotations__typingDictstrAny r   r   Q/home/ubuntu/.local/lib/python3.10/site-packages/deepgram/core/request_options.pyr      s   
 r   F)total)r   r   ImportErrortyping_extensions	TypedDictr   r   r   r   r   <module>   s   