o
    wvXjz  ã                   @   sæ   d Z ddlmZmZ ddlmZ ddlmZ ddlm	Z	m
Z
mZ dZdZdeƒ d	d
d
d…  ¡ < erJddlmZmZmZ ddlmZmZmZmZmZ G dd„ de	ƒZeeg d¢g d¢dœedeee ee
dd„ ƒe
dd„ ƒd�
\ZZd
S )zéOld deprecated task module.

This is the old task module, it shouldn't be used anymore,
import from the main 'celery' module instead.
If you're looking for the decorator implementation then that's in
``celery.app.base.Celery.task``.
é    )Úabsolute_importÚunicode_literals)Úcurrent_app)Úcurrent_task)Ú
LazyModuleÚProxyÚrecreate_module)ÚBaseTaskÚTaskÚPeriodicTaskÚtaskÚperiodic_taskÚgroupÚchordÚsubtaskTFÚkcah_acitatsNéÿÿÿÿ)r   r   r   é   )r	   r
   r   r   r   c                   @   s   e Zd Zdd„ ZdS )Úmodulec                 O   s   | j |i |¤ŽS ©N)r   )ÚselfÚargsÚkwargs© r   úQ/var/www/html/myproject/venv/lib/python3.10/site-packages/celery/task/__init__.pyÚ__call__!   s   zmodule.__call__N)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r      s    r   )zcelery.task.basezcelery.canvaszcelery.taskc                   C   s   t jjS r   )r   ÚcontrolÚpurger   r   r   r   Ú<lambda>2   s    r!   c                   C   s
   t jd S )Nzcelery.backend_cleanup)r   Útasksr   r   r   r   r!   4   s   
 )	Ú	by_moduleÚbaseÚ__package__Ú__file__Ú__path__Ú__doc__ÚcurrentÚdiscard_allÚbackend_cleanup) r(   Ú
__future__r   r   Úcelery._stater   r   r)   Úcelery.localr   r   r   Ú__all__ÚSTATICA_HACKÚglobalsÚupperÚcelery.canvasr   r   r   r$   r	   r
   r   r   r   r   r   r&   r'   Ú
old_moduleÚ
new_moduler   r   r   r   Ú<module>   s8   ý
ÿò