ó
    €Ï†  ã                   ó^   • S r SSKJr  SSKJr  SSKJr  SS0r " S S\R                  5      r
g	)
z)Command to wait for operation completion.é    )Úoperations_util)Úbase)Úresource_argsÚEXAMPLESzÁ          To wait for the asynchronous operation ``operation-1'' in the
          location ``us-central1'' to complete, run:

            $ {command} operation-1 --location=us-central1
        c                   ó2   • \ rS rSrSr\r\S 5       rS r	Sr
g)ÚWaité"   z,Wait for asynchronous operation to complete.c                 ó2   • [         R                  " U S5        g )Nzto wait for)r   ÚAddOperationResourceArg)Úparsers    Ú'lib/surface/composer/operations/wait.pyÚArgsÚ	Wait.Args'   s   € ä×)Ò)¨&°-Õ@ó    c                 ó
  • UR                   R                  R                  5       n[        R                  " X R                  5       S9n[        R                  " USR                  UR                  5      U R                  5       S9  g )N)Úrelease_trackzWaiting for [{}] to complete.)	ÚCONCEPTSÚ	operationÚParseÚoperations_api_utilÚGetÚReleaseTrackÚWaitForOperationÚformatÚname)ÚselfÚargsÚoperation_refr   s       r   ÚRunÚWait.Run+   se   € Ø—M‘M×+Ñ+×1Ñ1Ó3€MÜ#×'Ò'Ø×%6Ñ%6Ó%8ñ:€Iä×(Ò(ØØ'×.Ñ.¨y¯~©~Ó>Ø×'Ñ'Ó)ó+r   © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__ÚDETAILED_HELPÚdetailed_helpÚstaticmethodr   r   Ú__static_attributes__r!   r   r   r   r   "   s#   † Ù4à€-àñAó ðAõ+r   r   N)r&   Úgooglecloudsdk.api_lib.composerr   r   Úgooglecloudsdk.callioper   Ú#googlecloudsdk.command_lib.composerr   r'   ÚSilentCommandr   r!   r   r   Ú<module>r/      s9   ðñ 0õ SÝ (Ý =ð ð	ð€ô+ˆ4×Ñõ +r   