o
    _J@h  ã                   @   sÒ   d Z d ZZdZdZdZdZdZdZdZ	d	Z
d
ZdZdZdZdZdZdZdZeeB eB eB eB eB eB e	B e
B eB eB eB eB eB eB eB eB ZG dd„ dƒZG dd„ deƒZG dd„ deƒZG dd„ deƒZdS ))ÚEVENT_SCHEDULER_STARTEDÚEVENT_SCHEDULER_SHUTDOWNÚEVENT_SCHEDULER_PAUSEDÚEVENT_SCHEDULER_RESUMEDÚEVENT_EXECUTOR_ADDEDÚEVENT_EXECUTOR_REMOVEDÚEVENT_JOBSTORE_ADDEDÚEVENT_JOBSTORE_REMOVEDÚEVENT_ALL_JOBS_REMOVEDÚEVENT_JOB_ADDEDÚEVENT_JOB_REMOVEDÚEVENT_JOB_MODIFIEDÚEVENT_JOB_EXECUTEDÚEVENT_JOB_ERRORÚEVENT_JOB_MISSEDÚEVENT_JOB_SUBMITTEDÚEVENT_JOB_MAX_INSTANCESÚ	EVENT_ALLÚSchedulerEventÚJobEventÚJobExecutionEventÚJobSubmissionEventé   é   é   é   é   é    é@   é€   é   i   i   i   i   i    i @  i €  i   c                       s*   e Zd ZdZd‡ fdd„	Zdd„ Z‡  ZS )r   zÁ
    An event that concerns the scheduler itself.

    :ivar code: the type code of this event
    :ivar alias: alias of the job store or executor that was added or removed (if applicable)
    Nc                    s   t ƒ  ¡  || _|| _d S ©N)ÚsuperÚ__init__ÚcodeÚalias)Úselfr#   r$   ©Ú	__class__© úE/var/www/html/venv/lib/python3.10/site-packages/apscheduler/events.pyr"   I   s   

zSchedulerEvent.__init__c                 C   s   d| j j| jf S )Nz<%s (code=%d)>)r'   Ú__name__r#   )r%   r(   r(   r)   Ú__repr__N   s   zSchedulerEvent.__repr__r    )r*   Ú
__module__Ú__qualname__Ú__doc__r"   r+   Ú__classcell__r(   r(   r&   r)   r   A   s    r   c                       ó    e Zd ZdZ‡ fdd„Z‡  ZS )r   zÒ
    An event that concerns a job.

    :ivar code: the type code of this event
    :ivar job_id: identifier of the job in question
    :ivar jobstore: alias of the job store containing the job in question
    c                    s"   t ƒ  |¡ || _|| _|| _d S r    )r!   r"   r#   Újob_idÚjobstore)r%   r#   r1   r2   r&   r(   r)   r"   [   s   
zJobEvent.__init__©r*   r,   r-   r.   r"   r/   r(   r(   r&   r)   r   R   s    r   c                       r0   )r   zž
    An event that concerns the submission of a job to its executor.

    :ivar scheduled_run_times: a list of datetimes when the job was intended to run
    c                    s   t ƒ  |||¡ || _d S r    )r!   r"   Úscheduled_run_times)r%   r#   r1   r2   r4   r&   r(   r)   r"   i   s   
zJobSubmissionEvent.__init__r3   r(   r(   r&   r)   r   b   s    r   c                       s(   e Zd ZdZ			d‡ fdd„	Z‡  ZS )r   aM  
    An event that concerns the running of a job within its executor.

    :ivar scheduled_run_time: the time when the job was scheduled to be run
    :ivar retval: the return value of the successfully executed job
    :ivar exception: the exception raised by the job
    :ivar traceback: a formatted traceback for the exception
    Nc                    s,   t ƒ  |||¡ || _|| _|| _|| _d S r    )r!   r"   Úscheduled_run_timeÚretvalÚ	exceptionÚ	traceback)r%   r#   r1   r2   r5   r6   r7   r8   r&   r(   r)   r"   x   s
   

zJobExecutionEvent.__init__)NNNr3   r(   r(   r&   r)   r   n   s    ør   N)Ú__all__r   ZEVENT_SCHEDULER_STARTr   r   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r(   r(   r(   r)   Ú<module>   sp    ÿþýüûúùø	÷
öõôóòñðÿ