
                             S r SSKJr  SSKJr  SrSrSrSr " S S	\R                  5      r
 " S
 S\R                  5      r " S S\R                  5      r " S S\R                  5      rg)zCompleters for notebooks.    )
completers)
propertiesznotebooks.projects.locationsz)notebooks.projects.locations.environmentsz&notebooks.projects.locations.instanceszcompute.regionsc                   (   ^  \ rS rSrU 4S jrSrU =r$ )LocationCompleter   c                 <   > [         [        U ]
  " S[        SS.UD6  g )Nz#beta notebooks locations list --uri
collectionlist_command )superr   __init__LOCATION_COLLECTIONselfkwargs	__class__s     6lib/googlecloudsdk/command_lib/notebooks/completers.pyr   LocationCompleter.__init__   s(    	
T+ &:     r   __name__
__module____qualname____firstlineno__r   __static_attributes____classcell__r   s   @r   r   r           r   r   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )EnvironmentCompleter$   c                    > [         R                  R                  R                  R	                  SS9n[
        [        U ]  " S[        SR                  U5      S.UD6  g )NTrequiredz4beta notebooks environments list --location={} --urir	   r   )
r   VALUES	notebookslocationGetr   r!   r   ENVIRONMENT_COLLECTIONformatr   r   location_propertyr   s      r   r   EnvironmentCompleter.__init__&   sY    "))33<<@@$@O	
. )K	!	" 	r   r   r   r   s   @r   r!   r!   $        r   r!   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )InstanceCompleter/   c                    > [         R                  R                  R                  R	                  SS9n[
        [        U ]  " S[        SR                  U5      S.UD6  g )NTr$   z1beta notebooks instances list --location={} --urir	   r   )
r   r&   r'   r(   r)   r   r1   r   INSTANCE_COLLECTIONr+   r,   s      r   r   InstanceCompleter.__init__1   s\    "))33<<@@$@O	
T+ &HOO 	r   r   r   r   s   @r   r1   r1   /   r/   r   r1   c                   (   ^  \ rS rSrU 4S jrSrU =r$ )RegionCompleter:   c                 <   > [         [        U ]
  " S[        SS.UD6  g )Nzcompute regions list --urir	   r   )r   r7   r   REGION_COLLECTIONr   s     r   r   RegionCompleter.__init__<   s'    	/4) $1 r   r   r   r   s   @r   r7   r7   :   r   r   r7   N)__doc__googlecloudsdk.command_lib.utilr   googlecloudsdk.corer   r   r*   r4   r:   ListCommandCompleterr   r!   r1   r7   r   r   r   <module>r@      sr      7 *4 D > % 
77 ::: 
77 j55 r   