
    s                         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   " S	 S
\
R                  5      rg)z3Implementation of gcloud genomics operations wait.
    )absolute_import)division)unicode_literals)genomics_client)waiter)base)flagsc                   .    \ rS rSrSr\S 5       rS rSrg)Wait   z&Waits for an operation to complete.
  c                 0    [         R                  " U 5        g)z Register flags for this command.N)r	   AddName)parsers    'lib/surface/genomics/operations/wait.pyArgs	Wait.Args    s     
MM&    c                     [         R                  " UR                  5      u  p#[        R                  " UR                  5       USR                  UR                  5       5      SS9  g)zThis is what gets called when the user runs this command.

Args:
  args: an argparse namespace, All the arguments that were provided to this
    command invocation.
zWaiting for [{}]i $)max_wait_msN)r   CreateFromNamenamer   WaitForPollerformatRelativeName)selfargsclientresources       r   RunWait.Run%   sP     '55dii@F
NN6==?H%,,X-B-B-DE68 r    N)	__name__
__module____qualname____firstlineno____doc__staticmethodr   r    __static_attributes__r"   r   r   r   r      s       r   r   N)r'   
__future__r   r   r   googlecloudsdk.api_lib.genomicsr   googlecloudsdk.api_lib.utilr   googlecloudsdk.callioper   #googlecloudsdk.command_lib.genomicsr	   SilentCommandr   r"   r   r   <module>r0      s3    '  ' ; . ( 54 r   