
    h                        d Z dZ	 ddlmZ dZ e       Zej                  d	      Zej                  d
      Z	ej                  d      Z
ej                  d      Zej                  d      Zej                  d      Zej                  d      Zej                  d      Zej                  d      Zy# e$ r  G d d      Z G d d      ZY w xY w))pre_init	post_initpre_savepre_save_post_validation	post_save
pre_deletepost_deleteF    )	NamespaceTc                       e Zd ZddZy)r
   Nc                     t        ||      S N)_FakeSignalselfnamedocs      Q/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/mongoengine/signals.pysignalzNamespace.signal   s    tS))    r   )__name__
__module____qualname__r    r   r   r
   r
      s    	*r   r
   c                   :    e Zd ZdZddZd Zd ZexZxZxZ	xZ
Z[y)r   a  If blinker is unavailable, create a fake class with the same
        interface that allows sending of signals but will fail with an
        error on anything else.  Instead of doing anything on send, it
        will just ignore the arguments and do nothing instead.
        Nc                      || _         || _        y r   )r   __doc__r   s      r   __init__z_FakeSignal.__init__   s    DIDLr   c                     t        d      )NzOsignalling support is unavailable because the blinker library is not installed.)RuntimeError)r   argskwargss      r   _failz_FakeSignal._fail!   s    ! r   c                       y r   r   )akws     r   <lambda>z_FakeSignal.<lambda>(   s    r   r   )r   r   r   r   r   r"   sendconnect
disconnecthas_receivers_forreceivers_fortemporarily_connected_tor   r   r   r   r      sH    			 % LQ	Q 	Q	Q	Q -0Hr   r   r   r   r   r   r   r   r   pre_bulk_insertpost_bulk_insertN)__all__signals_availableblinkerr
   ImportErrorr   _signalsr   r   r   r   r   r   r   r   r-   r.   r   r   r   <module>r4      s      !D ;??:&OOK(	??:&#??+EF OOK(	__\*
oom,//"34??#56 W  * * s   B/ /C
C