§
    Ò¬¸j�  ã                  óH  — d dl mZ d dlZd dlmZ d dlmZ er"d dlZd dlm	Z	 ej
        dk    rd dlmZ nd dlmZ g d¢Z ed	¦  «         G d
„ dej        ¦  «        ¦   «         Z ed	¦  «        dd„¦   «         Z ed	¦  «        dd„¦   «         Z ed	¦  «        dd„¦   «         ZdS )é    )ÚannotationsN)ÚTYPE_CHECKING)Ú
deprecated)ÚTracebackType)é   é   )ÚSelf)ÚStringCacheÚdisable_string_cacheÚenable_string_cacheÚusing_string_cachez3the string cache has been replaced by pl.Categoriesc                  ó"   — e Zd ZdZdd„Zdd„ZdS )r
   ú¼
    Does nothing.

    .. deprecated:: 1.41.0
        The string cache was used to maintain the mapping for the Categorical
        dtype, this is now done through ``pl.Categories``.
    Úreturnr	   c                ó   — | S ©N© )Úselfs    úc/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/polars/string_cache.pyÚ	__enter__zStringCache.__enter__$   s   € Øˆó    Úexc_typeútype[BaseException] | NoneÚexc_valúBaseException | NoneÚexc_tbúTracebackType | NoneÚNonec                ó   — d S r   r   )r   r   r   r   s       r   Ú__exit__zStringCache.__exit__'   s	   € ð 	ˆr   N)r   r	   )r   r   r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r    r   r   r   r
   r
      sF   € € € € € ðð ðð ð ð ðð ð ð ð ð r   r
   r   r   c                 ó   — dS ©r   Nr   r   r   r   r   r   0   ó   € € € r   c                 ó   — dS r&   r   r   r   r   r   r   ;   r'   r   Úboolc                 ó   — dS )zÃ
    Always returns true.

    .. deprecated:: 1.41.0
        The string cache was used to maintain the mapping for the Categorical
        dtype, this is now done through ``pl.Categories``.
    Tr   r   r   r   r   r   F   s	   € ð ˆ4r   )r   r   )r   r)   )Ú
__future__r   Ú
contextlibÚtypingr   Úpolars._utils.deprecationr   ÚsysÚtypesr   Úversion_infor	   Útyping_extensionsÚ__all__ÚContextDecoratorr
   r   r   r   r   r   r   ú<module>r5      s‡  ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  à 0Ð 0Ð 0Ð 0Ð 0Ð 0àð +Ø€J€J€JØ#Ð#Ð#Ð#Ð#Ð#à
Ô˜7Ò"Ð"ØÐÐÐÐÐÐà*Ð*Ð*Ð*Ð*Ð*ðð ð €ð €ÐAÑBÔBðð ð ð ð �*Ô-ñ ô ñ CÔBðð* €ÐAÑBÔBðð ð ñ CÔBðð €ÐAÑBÔBðð ð ñ CÔBðð €ÐAÑBÔBðð ð ñ CÔBðð ð r   