
                         ,   S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  SSK	J
r
  SSK	Jr  \R                  " \R                  R                  \R                  R                  \R                  R                   5       " S	 S
\R"                  5      5       rg)"Wait for an execution to complete.    )absolute_import)division)unicode_literals)	workflows)base)flags)hooksc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
Wait   r   z{description}z          To wait for an execution with ID 'my-workflow-execution-ID' from a
          workflow named 'my-workflow' to finish, run:

            $ {command} my-workflow-execution-ID --workflow=my-workflow

          )DESCRIPTIONEXAMPLESc                 .    [         R                  " U SS9  g )Nz
to wait on)verb)r	   AddExecutionResourceArg)parsers    (lib/surface/workflows/executions/wait.pyArgs	Wait.Args-   s    	!!&|<    c                     [         R                  " SUS5        [        R                  " U R	                  5       5      n[
        R                  " U5      n[        R                  " U5      nUR                  U5      $ )z3Starts the wait on the completion of the execution.N)	r
   print_default_location_warningr   ReleaseTrackToApiVersionReleaseTrackr	   ParseExecutionWorkflowExecutionClientWaitForExecution)selfargsapi_versionexecution_refclients        r   RunWait.Run1   s^    	((tT:44T5F5F5HIK((.M..{;F""=11r    N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r$   __static_attributes__r&   r   r   r   r      s1     + 	- = =2r   r   N)r+   
__future__r   r   r    googlecloudsdk.api_lib.workflowsr   googlecloudsdk.callioper   $googlecloudsdk.command_lib.workflowsr	   r
   ReleaseTracksr   ALPHABETAGADescribeCommandr   r&   r   r   <module>r8      sv    ) &  ' 6 ( 6 6 D%%++T->->-C-C%%((*24 2*2r   