
    `	                         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KJr   " S	 S
\R                  5      rg)zList operations command.    )absolute_import)division)unicode_literals)
exceptions)util)base)
propertiesc                   8    \ rS rSrSrSSS.r\S 5       rS rSr	g	)
List   z'List operations for container clusters.z{description}zF          To list operations, run:

            $ {command}
          )DESCRIPTIONEXAMPLESc                     [         R                  R                  U 5        U R                  R	                  [
        R                  5        g)zRegister flags for this command.

Args:
  parser: An argparse.ArgumentParser-like object. It is mocked out in order
    to capture some information, but behaves like an ArgumentParser.
N)r   URI_FLAGRemoveFromParserdisplay_info	AddFormatr   OPERATIONS_FORMAT)parsers    (lib/surface/container/operations/list.pyArgs	List.Args+   s0     	MM""6*
!!$"8"89    c                 l   U R                   S   nU R                   S   n[        R                  R                  R                  R                  5       nU" USSS9n UR                  XE5      R                  $ ! [        R                   a*  n[        R                  " U[        R                  5      eSnAff = f)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.

Returns:
  Some value that we want to have printed later.
api_adapterlocation_getTF)ignore_propertyrequiredN)contextr	   VALUEScoreproject	GetOrFailListOperations
operationsapitools_exceptions	HttpErrorr   HttpExceptionr   HTTP_ERROR_FORMAT)selfargsadapterr   
project_idlocationerrors          r   RunList.Run7   s     ll=)G<</L""''//99;JD$GHD##J9DDD(( D$$UD,B,BCCDs   A5 5B3	%B..B3 N)
__name__
__module____qualname____firstlineno____doc__detailed_helpstaticmethodr   r0   __static_attributes__r2   r   r   r   r      s0    / 		- 	: 	:Dr   r   N)r7   
__future__r   r   r   apitools.base.pyr   r&    googlecloudsdk.api_lib.containerr   googlecloudsdk.callioper   googlecloudsdk.corer	   ListCommandr   r2   r   r   <module>rA      s6     &  ' > 1 ( . *-D4 -Dr   