
    `f              
          d Z ddlZddlmZmZmZ  ej        e           ej        d           ej        ddedd	
           ej        deddd          ej	        ed                                                                         Z
dS )z<The ``celery result`` program, used to inspect task results.    N)CeleryCommandCeleryOptionhandle_preload_options)clstask_idz-tz--taskzResult Optionsz!Name of task (if custom backend).)r   
help_grouphelpz--tracebackTzShow traceback instead.)r   is_flagr   r	   c                     | j         j        }|r|j        |         j        n|j        } ||          }|r|j        n|                                }| j                             |           dS )z+Print the return value for a given task id.N)objapptasksAsyncResult	tracebackgetecho)ctxr   taskr   r   
result_clstask_resultvalues           C/var/www/html/env/lib/python3.11/site-packages/celery/bin/result.pyresultr      sn      '+C04I4,,#/J*W%%K%.EK!!KOO4E4EE GLL    )__doc__clickcelery.bin.baser   r   r   commandargumentoptionpass_contextr    r   r   <module>r#      s    B B  O O O O O O O O O O =!!!	d)6	8 8 8
 m),	. . .
 	 	  . .8 8  "!	 	 	r   