o
    ÓLV¯  ã                   @   sT   d dl mZmZ d dlmZ d dlmZ d dlmZ ejed�Z	G dd„ deƒZ
dS )é    )Úabsolute_importÚunicode_literals)Úcelery)Úapp)ÚCeleryCommandc                   @   s0   e Zd ZdZdZeje ¡  ej	 Zdd„ Z
dS )ÚCommandzThe celery command.z celery commands, see celery helpc                 C   s:   |   |¡}| jr|  ¡  t d |¡g|dd …  ¡ d S )Nz{0[0]} {0[1]}é   )Úhandle_default_optionsÚrequires_model_validationÚvalidateÚbaseÚexecute_from_commandlineÚformat)ÚselfÚargv© r   úU/var/www/html/env/lib/python3.10/site-packages/djcelery/management/commands/celery.pyÚrun_from_argv   s   
ÿzCommand.run_from_argvN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úhelpr   Úoptionsr   Úget_optionsÚpreload_optionsr   r   r   r   r   r      s    ÿþr   N)Ú
__future__r   r   Ú
celery.binr   Údjcelery.appr   Údjcelery.management.baser   r   r   r   r   r   r   Ú<module>   s    