
    h                         d dl mZ d dlmZmZ dZ e       Z ed       G d de             Z	 G d d	e      Z
 G d
 de      ZddZy)    )	dataclass)SequenceAnyz(https://nesdis.github.io/djongo/support/Freprc                   `    e Zd ZU dZeed<   dZeed<   dZeed<   dZe	ed<   dZ
eed<   d Zd Zy)	SQLDecodeErrorNerr_keyerr_sub_sqlerr_sqlparamsversionc           
          d| j                    d| j                   d| j                   d| j                   d| j                   
S )Nz

	Keyword: z
	Sub SQL: z
	FAILED SQL: z

	Params: z
	Version: )r
   r   r   r   r   selfs    T/var/www/html/ranktracker/api/venv/lib/python3.12/site-packages/djongo/exceptions.py__repr__zSQLDecodeError.__repr__   sR    !$,, 0"../ 0!!% /![[M *"ll^	- 	.    c                     t        |       S Nr   r   s    r   __str__zSQLDecodeError.__str__   s    Dzr   )__name__
__module____qualname__r
   r   __annotations__r   r   r   r   r   strr   r    r   r   r	   r	      s>    GSKGSFHGS.r   r	   c                       e Zd ZddZy)NotSupportedErrorNc                     || _         y r   )keyword)r   r!   s     r   __init__zNotSupportedError.__init__   s	    r   r   r   r   r   r"   r   r   r   r   r      s    r   r   c                       e Zd Zd Zy)MigrationErrorc                     || _         y r   )field)r   r'   s     r   r"   zMigrationError.__init__#   s	    
r   Nr#   r   r   r   r%   r%   !   s    r   r%   Nc                 ~    | t         vr5|xs d|  ddt         z   }t        |       t         j                  |        y y )Nz)This version of djongo does not support "z	" fully. zVisit )_printed_featuresdjongo_access_urlprintadd)featuremessages     r   
print_warnr/   '   sK    '']!J7)S\]/012gg&	 (r   )NN)dataclassesr   typingr   r   r*   setr)   
ValueErrorr	   r   	Exceptionr%   r/   r   r   r   <module>r5      sV    !  > E  Z  $
 Y 'r   