+
    g	                        ^ RI t ^ RIt^ RIHt ^ RIHtHt ^ RIHtH	t	 ^ RI
Ht ^ RIHt ^ RIHtHtHt ^ RIHt  ! R	 R
]4      tR t]! R]	P,                  ]	P.                  ]]P0                  R]! ]! R]	P2                  RR7      ]! R]	P4                  RR7      ]! R]	P6                  R. RR7      ]! R]	P8                  RRR7      .R7      .R7      tR# )    N)OrderedDict)AnyOptional)
exceptionsmessages)AbstractProgress)call_api)ProArgumentProArgumentGroup
ProCommand)HelpCategoryc                   2   a  ] tR t^t o V 3R lR ltRtV tR# )CLIAPIProgressc          	      R   < V ^8  d   QhRS[ RS[ RS[S[,          RS[S[,          /# )   total_steps
done_stepsprevious_step_messagecurrent_step_message)intr   str)format__classdict__s   "2/usr/lib/python3/dist-packages/uaclient/cli/api.py__annotate__CLIAPIProgress.__annotate__   s=        	
  (} 'sm    c               x    \        4       pWR &   W%R&   W5R&   WER&   \        \        P                  ! V4      4       R# )r   r   r   r   N)r   printjsondumps)selfr   r   r   r   ds   &$$$$ r   progressCLIAPIProgress.progress   s<     M&-$,%:
!"$8
 !djjmr    N)__name__
__module____qualname____firstlineno__r$   __static_attributes____classdictcell__)r   s   @r   r   r      s      r   r   c                :   V P                   '       d(   V P                  '       d   \        P                  ! 4       hV P                  '       dY   V P                  R 8X  dH   \        P
                  P                  4       '       g$   \        P
                  P                  4       V n        V P                  '       d   \        4       pMRp\        V P                  V P                   V P                  W4      p\        VP                  4       4       VP                  R8X  d   ^ # ^# )-Nsuccess)optionsdatar   CLIAPIOptionsXORDatasysstdinisattyreadshow_progressr   r	   endpoint_pathr   to_jsonresult)argscfgkwargsr$   r:   s   &$,  r   
action_apir>      s    |||			--//yyyTYY#%yy!!		(DI!#DLL$))SF 
&..
*111r   apiTr8   endpoint)helpmetavarz--show-progress
store_true)rA   actionz--argsr0   *)rA   destdefaultnargsz--datar1    )rA   rF   rG   )	arguments)rA   descriptionrD   help_categorypreserve_descriptionargument_groups)r    r3   collectionsr   typingr   r   uaclientr   r   uaclient.apir   uaclient.api.apir	   uaclient.cli.commandsr
   r   r   uaclient.cli.parserr   r   r>   CLI_ROOT_APICLI_API_DESCOTHERCLI_API_ENDPOINTCLI_API_SHOW_PROGRESSCLI_API_ARGSCLI_API_DATAapi_commandr&   r   r   <module>r^      s     
 #   ) ) % K K ,% "2( 				%%$$#!22&
 %!77'
 !.." !..	%	
$r   