� L�g��"�UdZddlmZddlZddlmZGd�de��ZejZde d<ej Z de d <ej Z de d <Gd �d ej ��Z e e e� ��Zde d<e ee� ��Zde d<e e e � ��Zde d<dS)z1Provide :class:`OnDup` and related functionality.�)� annotationsN)�Enumc�&�eZdZdZdZdZdZd d�ZdS) � OnDupActionz8An action to take to prevent duplication from occurring.�RAISE�DROP_OLD�DROP_NEW�return�strc�.�|jj�d|j��S)N�.)� __class__�__name__�name)�selfs �[/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/bidict/_dup.py�__repr__zOnDupAction.__repr__s���.�)�7�7�D�I�7�7�7�N)r r )r� __module__� __qualname__�__doc__rrr r�rrrrs?������B�B� �E��H��H�8�8�8�8�8�8rrzt.Final[OnDupAction]rrr c�0�eZdZUdZeZded<eZded<dS)�OnDupa(A combination of :class:`~bidict.OnDupAction`\s specifying how to handle various types of duplication. The :attr:`~OnDup.key` field specifies what action to take when a duplicate key is encountered. The :attr:`~OnDup.val` field specifies what action to take when a duplicate value is encountered. In the case of both key and value duplication across two different items, only :attr:`~OnDup.val` is used. *See also* :ref:`basic-usage:Values Must Be Unique` (https://bidict.rtfd.io/basic-usage.html#values-must-be-unique) r�key�valN) rrrrrr�__annotations__rrrrrrr#s@������� � � �C������C������rr)rrzt.Final[OnDup]�ON_DUP_DEFAULT� ON_DUP_RAISE�ON_DUP_DROP_OLD)r� __future__r�typing�t�enumrrrrrr � NamedTuplerrrr rrr�<module>r&s<��8�7�7�"�"�"�"�"�"����������� 8� 8� 8� 8� 8�$� 8� 8� 8�*�/��/�/�/�/�!,�!5��5�5�5�5�!,�!5��5�5�5�5������A�L����,"'��8��!?�!?�!?��?�?�?�?�$�u��E�:�:�:� �:�:�:�:�"'�%�H�(�"C�"C�"C��C�C�C�C�C�Cr
Memory