
                         F    S r SSKJr  SSKJr  SSKJr  SSKrSSKJr  S rg)z(Common utilities for Metastore commands.    )absolute_import)division)unicode_literalsN)resource_printerc                     [         R                  " 5       n[        R                  " USR	                  U 5      US9  UR                  5       $ )zConstructs text output listing the elements of items and a title.

Args:
  title: string, the listing title
  items: iterable, the iterable whose elements to list

Returns:
  string, text representing list title and elements.
zlist[title="{0}"])out)ioStringIOr   Printformatgetvalue)titleitemsbufs      0lib/googlecloudsdk/command_lib/metastore/util.pyConstructListr      s9     	# 3 : :5 AsK	    )	__doc__
__future__r   r   r   r	   googlecloudsdk.core.resourcer   r    r   r   <module>r      s    / &  ' 	 9r   