
                         F   d Z ddlmZ ddlmZ ddlmZ ddlZddlmZ ddlm	Z	 ddl
mZ e	j                   e	j                  e	j                  j                  e	j                  j                   e	j                  j"                         G d	 d
e	j$                                      Zy)z1Command for spanner instance partitions describe.    )absolute_import)division)unicode_literalsN)instance_partitions)base)resource_argsc                   N    e Zd ZdZd ej
                  d      iZed        Zd Z	y)Describez&Describe a Spanner instance partition.EXAMPLESz        To describe a Spanner instance partition, run:

          $ {command} my-instance-partition-id --instance=my-instance-id
        c                 0    t        j                  | d       y)ay  Args is called by calliope to gather arguments for this command.

    Please add arguments in alphabetical order except for no- or a clear- pair
    for that argument which can follow the argument itself.

    Args:
      parser: An argparse parser that you can use to add arguments that go on
        the command line after this command. Positional arguments are allowed.
    zto describeN)r   AddInstancePartitionResourceArg)parsers    3lib/surface/spanner/instance_partitions/describe.pyArgszDescribe.Args(   s     11&-H    c                 p    t        j                  |j                  j                  j	                               S )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.
    )r   GetCONCEPTSinstance_partitionParse)selfargss     r   RunzDescribe.Run5   s(     ""4==#C#C#I#I#KLLr   N)
__name__
__module____qualname____doc__textwrapdedentdetailed_helpstaticmethodr   r    r   r   r
   r
      sA    
 / /(// # - 
I 
I
Mr   r
   )r   
__future__r   r   r   r   googlecloudsdk.api_lib.spannerr   googlecloudsdk.callioper   "googlecloudsdk.command_lib.spannerr   DefaultUniverseOnlyReleaseTracksReleaseTrackGABETAALPHADescribeCommandr
   r"   r   r   <module>r.      s    8 &  '  > ( < $++00$2C2C2I2I"Mt## "M "Mr   