§
    }Štj 	  ã                   óF   — d Z ddlZddlmZ ddlmZ ddlmZ dedefd	„ZdS )
zJContains utilities to flag a feature as "experimental" in Huggingface Hub.é    N)ÚCallable)Úwrapsé   )Ú	constantsÚfnÚreturnc                 ó¼   ‡ ‡— ‰ j                              d¦  «        r‰ j         dt          d¦  «         …         n‰ j         Št          ‰ ¦  «        ˆ ˆfd„¦   «         }|S )ay  Decorator to flag a feature as experimental.

    An experimental feature triggers a warning when used as it might be subject to breaking changes without prior notice
    in the future.

    Warnings can be disabled by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.

    Args:
        fn (`Callable`):
            The function to flag as experimental.

    Returns:
        `Callable`: The decorated function.

    Example:

    ```python
    >>> from huggingface_hub.utils import experimental

    >>> @experimental
    ... def my_function():
    ...     print("Hello world!")

    >>> my_function()
    UserWarning: 'my_function' is experimental and might be subject to breaking changes in the future without prior
    notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.
    Hello world!
    ```
    z.__new__Nc                  óh   •— t           j        st          j        d‰› d�t          ¦  «          ‰| i |¤ŽS )Nú'zÇ' is experimental and might be subject to breaking changes in the future without prior notice. You can disable this warning by setting `HF_HUB_DISABLE_EXPERIMENTAL_WARNING=1` as environment variable.)r   Ú#HF_HUB_DISABLE_EXPERIMENTAL_WARNINGÚwarningsÚwarnÚUserWarning)ÚargsÚkwargsr   Únames     €€úa/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/huggingface_hub/utils/_experimental.pyÚ	_inner_fnzexperimental.<locals>._inner_fn8   sT   ø€ åÔ<ð 	ÝŒMð�Dð ð ð õ ñ	ô ð ð ˆr�4Ð"˜6Ð"Ð"Ð"ó    )Ú__qualname__ÚendswithÚlenr   )r   r   r   s   ` @r   Úexperimentalr      su   øø€ ð> 35´/×2JÒ2JÈ:Ñ2VÔ2VÐkˆ2Œ?Ð-�c *™oœoÐ-Ð-Ô.Ð.Ð\^Ô\k€Då
ˆ2�Y„Yð#ð #ð #ð #ð #ñ „Yð#ð Ðr   )	Ú__doc__r   Úcollections.abcr   Ú	functoolsr   Ú r   r   © r   r   ú<module>r      sy   ðð QÐ Pà €€€Ø $Ð $Ð $Ð $Ð $Ð $Ø Ð Ð Ð Ð Ð à Ð Ð Ð Ð Ð ð,�Xð , (ð ,ð ,ð ,ð ,ð ,ð ,r   