
    Cj                     V    S SK r S SKJrJr  SS/r " S S\5      r\" 5       rS\l        g)    N)AnyOptional	UndefinedUndefinedTypec                      ^  \ rS rSr% SrSr\S    \S'   SU 4S jjrS\	4S jr
S\	4S jr\rS\4S	 jrS\4S
 jrS\S\4S jrS\S\4S jrSrU =r$ )r      z5Auxiliary class for creating the Undefined singleton.N	_instancereturnc                    > U R                   c   [        TU ]	  U 5      U l         U R                   $ [        R                  " S[
        SS9  U R                   $ )NzRedefinition of 'Undefined'   )
stacklevel)r	   super__new__warningswarnRuntimeWarning)cls	__class__s    k/home/rurouni/.local/share/pipx/venvs/strix-agent/lib/python3.13/site-packages/graphql/pyutils/undefined.pyr   UndefinedType.__new__   sG    == !GOC0CM }} MM7TUV}}    c                     gNr    selfs    r   
__reduce__UndefinedType.__reduce__       r   c                     gr   r   r   s    r   __repr__UndefinedType.__repr__   r   r   c                      [        [        5      $ N)hashr   r   s    r   __hash__UndefinedType.__hash__   s    M""r   c                     g)NFr   r   s    r   __bool__UndefinedType.__bool__   s    r   otherc                     U[         L $ r$   )r   r   r+   s     r   __eq__UndefinedType.__eq__!   s    	!!r   c                     X:X  + $ r$   r   r-   s     r   __ne__UndefinedType.__ne__$   s      r   r   )r
   r   )__name__
__module____qualname____firstlineno____doc__r	   r   __annotations__r   strr   r!   __str__intr&   boolr)   r   r.   r1   __static_attributes____classcell__)r   s   @r   r   r      s|    ?+/Ix(/C #  G## #$ "C "D "!C !D ! !r   zSymbol for undefined values

This singleton object is used to describe undefined or invalid  values.
It can be used in places where you would use ``undefined`` in GraphQL.js.
)	r   typingr   r   __all__
ValueErrorr   r   r7   r   r   r   <module>rB      s5      
(!J !D O		 r   