#NEWLINE# def get_vg_tps( ns , vg ) : #NEWLINE# #INDENT# '\n    Return Thin Pools of given Volume Group.\n\n    :type vg: LMIInstance/LMI_VGStoragePool or string\n    :param vg: Volume Group to examine.\n    :rtype: list of LMIInstance/CIM_StoragePool\n    ' #NEWLINE# assoc_class = 'LMI_VGAllocatedFromStoragePool' #NEWLINE# if ( not ( assoc_class in ns . classes ( ) ) ) : #NEWLINE# #INDENT# return [ ] #NEWLINE# #UNINDENT# vg = common . str2vg ( ns , vg ) #NEWLINE# return vg . associators ( AssocClass = assoc_class )