o
    ÓLV¥  ã                   @   sX   d Z 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 )	z,

Shortcut to the Django snapshot service.

é    )Úabsolute_importÚunicode_literals)Úevents)Úapp)ÚCeleryCommandc                   @   s0   e Zd ZdZeje ¡  ej ZdZ	dd„ Z
dS )ÚCommandz#Run the celery curses event viewer.z6Takes snapshots of the clusters state to the database.c                 O   s   d|d< t j|i |¤Ž dS )zHandle the management command.zdjcelery.snapshot.CameraÚcameraN)ÚevÚrun)ÚselfÚargsÚoptions© r   úX/var/www/html/env/lib/python3.10/site-packages/djcelery/management/commands/celerycam.pyÚhandle   s   zCommand.handleN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r	   Úget_optionsÚpreload_optionsÚhelpr   r   r   r   r   r      s    ÿþr   N)r   Ú
__future__r   r   Ú
celery.binr   Údjcelery.appr   Údjcelery.management.baser   r	   r   r   r   r   r   Ú<module>   s    