HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib/python3.10/site-packages/celery/bin/__pycache__/call.cpython-310.pyc
o

-weB	�@sdZddlZddlmZmZmZmZmZmZm	Z	ej
ed�e�d�ejddeedd	d
d�ejdd
eedd	dd�ejdeed	dd�ejdee
d	dd�ejdeed	dd�ejdedd	dd�ejdeddd�ejdedd d�ejd!edd"d�eje	d#d$��������������ZdS)%zEThe ``celery call`` program used to send tasks from the command-line.�N)�ISO8601�ISO8601_OR_FLOAT�
JSON_ARRAY�JSON_OBJECT�
CeleryCommand�CeleryOption�handle_preload_options)�cls�namez-az--argsz[]zCalling OptionszPositional arguments.)r	�type�default�
help_group�helpz-kz--kwargsz{}zKeyword arguments.z--etazscheduled time.)r	rr
rz--countdownzeta in seconds from now.z	--expireszexpiry time.z--serializer�jsonztask serializer.)r	rr
rz--queuezRouting Optionszcustom queue name.)r	r
rz
--exchangezcustom exchange name.z
--routing-keyzcustom routing key.cCs4|jjj|||||||	|
||d�
j}|j�|�dS)zCall a task by name.)	�args�kwargs�	countdown�
serializer�queue�exchange�routing_key�eta�expiresN)�obj�app�	send_task�id�echo)�ctxr
rrrrrrrrr�task_id�r �H/home/arjun/projects/env/lib/python3.10/site-packages/celery/bin/call.py�calls4�
�r")�__doc__�click�celery.bin.baserrrrrrr�command�argument�option�float�pass_contextr"r r r r!�<module>s~$
���������&