
    2BfN                        d dl 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ej                  d      Zy# e$ r dZ G d d      Z G d d      ZY w xY w)    N)	NamespaceTFc                   <    e Zd Zddedej
                  e   ddfdZy)r   Nnamedocreturn_FakeSignalc                     t        ||      S N)r   selfr   r   s      M/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/flask/signals.pysignalzNamespace.signal   s    tS))    r
   )__name__
__module____qualname__strtOptionalr    r   r   r   r   
   s$    	*s 	*C 	*M 	*r   r   c                       e Zd ZdZddedej                  e   ddfdZdej                  dej                  dej                  fd	Z	dej                  dej                  dej                  fd
Z
e
xZxZxZZe
Ze
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.
        Nr   r   r   c                      || _         || _        y r
   )r   __doc__r   s      r   __init__z_FakeSignal.__init__   s    DIDLr   argskwargsc                      y r
   r   r   r   r   s      r   sendz_FakeSignal.send   s    r   c                     t        d      )NzOSignalling support is unavailable because the blinker library is not installed.)RuntimeErrorr   s      r   _failz_FakeSignal._fail   s    - r   r
   )r   r   r   r   r   r   r   r   Anyr   r"   connectconnect_viaconnected_totemporarily_connected_to
disconnecthas_receivers_forreceivers_forr   r   r   r   r      s    		 	1::c? 	d 		aee 	quu 	 		quu 	 	!%% 	 KPOO+O/G
,11Mr   r   ztemplate-renderedzbefore-render-templatezrequest-startedzrequest-finishedzrequest-tearing-downzgot-request-exceptionzappcontext-tearing-downzappcontext-pushedzappcontext-poppedzmessage-flashed)typingr   blinkerr   signals_availableImportErrorr   _signalsr   template_renderedbefore_render_templaterequest_startedrequest_finishedrequest_tearing_downgot_request_exceptionappcontext_tearing_downappcontext_pushedappcontext_poppedmessage_flashedr   r   r   <module>r:      s    "!H ;
 OO$78 !)AB //"34??#56 '=>  (?@ "//*CD OO$78 OO$78 //"34c  * * s   C   CC