HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //usr/local/lib/python3.9/site-packages/celery/__pycache__/states.cpython-39.pyc
a

X>h��@s�dZdZgd�Zeeeedee����ZedZe	e
d�dd�ZGdd	�d	e	�Zd
Z
dZdZd
ZdZdZdZdZdZeeeeh�Zee
eeeeh�Zeeeeh�Zeeeh�Zee
eeeeeeh�ZdS)a�Built-in task states.

.. _states:

States
------

See :ref:`task-states`.

.. _statesets:

Sets
----

.. state:: READY_STATES

READY_STATES
~~~~~~~~~~~~

Set of states meaning the task result is ready (has been executed).

.. state:: UNREADY_STATES

UNREADY_STATES
~~~~~~~~~~~~~~

Set of states meaning the task result is not ready (hasn't been executed).

.. state:: EXCEPTION_STATES

EXCEPTION_STATES
~~~~~~~~~~~~~~~~

Set of states meaning the task returned an exception.

.. state:: PROPAGATE_STATES

PROPAGATE_STATES
~~~~~~~~~~~~~~~~

Set of exception states that should propagate exceptions to the user.

.. state:: ALL_STATES

ALL_STATES
~~~~~~~~~~

Set of all possible states.

Misc
----

)�PENDING�RECEIVED�STARTED�SUCCESS�FAILURE�REVOKED�RETRY�IGNORED�READY_STATES�UNREADY_STATES�EXCEPTION_STATES�PROPAGATE_STATES�
precedence�state)	rrNrrr�REJECTEDrr�N)r�returncCs&z
t|WSty tYS0dS)zRGet the precedence index for state.

    Lower index means higher precedence.
    N)�PRECEDENCE_LOOKUP�KeyError�NONE_PRECEDENCE)r�r�7/usr/local/lib/python3.9/site-packages/celery/states.pyr
Qs
r
c@sPeZdZdZeed�dd�Zeed�dd�Zeed�dd�Zeed�d	d
�Z	dS)raTask state.

    State is a subclass of :class:`str`, implementing comparison
    methods adhering to state precedence rules::

        >>> from celery.states import state, PENDING, SUCCESS

        >>> state(PENDING) < state(SUCCESS)
        True

    Any custom state is considered to be lower than :state:`FAILURE` and
    :state:`SUCCESS`, but higher than any of the other built-in states::

        >>> state('PROGRESS') > state(STARTED)
        True

        >>> state('PROGRESS') > state('SUCCESS')
        False
    )�otherrcCst|�t|�kS�N�r
��selfrrrr�__gt__qszstate.__gt__cCst|�t|�kSrrrrrr�__ge__tszstate.__ge__cCst|�t|�kSrrrrrr�__lt__wszstate.__lt__cCst|�t|�kSrrrrrr�__le__zszstate.__le__N)
�__name__�
__module__�__qualname__�__doc__�str�boolrrrrrrrrr\s
rrrrrrrrrr)r#�__all__Z
PRECEDENCE�dict�zip�range�lenrrr$�intr
rrrrrrrrrr�	frozensetr	r
rrZ
ALL_STATESrrrr�<module>s,6	
#�