Ë
    èË€h»  ã                  óô   — d dl mZ d dlZd dlmZ  ej
                  e«      5  d dlmZ	 ddd«       d dl
mZ er d dlZej                  dk\  rd dlmZ nd dlmZ d	d„Z ed«      d	d„«       Zy# 1 sw Y   ŒExY w)
é    )ÚannotationsN)Ú
deprecated)ÚTYPE_CHECKING)é   é   c                 ó*   — t        j                  «       S )a  
    Return the number of threads in the Polars thread pool.

    Notes
    -----
    The thread pool size can be overridden by setting the `POLARS_MAX_THREADS`
    environment variable before process start. The thread pool is not behind a
    lock, so it cannot be modified once set. A reasonable use case for this might
    be temporarily limiting the number of threads before importing Polars in a
    PySpark UDF or similar context. Otherwise, it is strongly recommended not to
    override this value as it will be set automatically by the engine.

    Examples
    --------
    >>> pl.thread_pool_size()  # doctest: +SKIP
    16
    )ÚplrÚthread_pool_size© ó    ús/var/www/html/wine-match-dev/backend/winematch-backend/venv/lib/python3.12/site-packages/polars/meta/thread_pool.pyr
   r
      s   € ô$ ×ÑÓ!Ð!r   z>`threadpool_size` was renamed; use `thread_pool_size` instead.c                 ó   — t        «       S )z¡
    Return the number of threads in the Polars thread pool.

    .. deprecated:: 0.20.7
        This function has been renamed to :func:`thread_pool_size`.
    )r
   r   r   r   Úthreadpool_sizer   *   s   € ô ÓÐr   )ÚreturnÚint)Ú
__future__r   Ú
contextlibÚpolars._utils.deprecationr   ÚsuppressÚImportErrorÚpolars.polarsÚpolarsr	   Útypingr   ÚsysÚversion_infoÚwarningsÚtyping_extensionsr
   r   r   r   r   ú<module>r      sv   ðÝ "ã å 0à€Z×Ñ˜Ó%ñ  Ý÷ õ !áÛà
×Ñ˜7Ò"Þ'å0ó"ñ* ÐLÓMòó Nñ÷I ð  ús   £A.Á.A7