(self, transformation)
return tuple(x for x in result if not x.startswith('Transformation'))
Return amount generator types, including lines & cells,
    but only or without those related to transformations.
Return amount generator types, including lines & cells,
    but only or without those related to transformations.
Return amount generator types including lines & cells but only or without those related to transformations .
def getPortalAmountGeneratorAllTypeList(self, transformation):
    """
    Return amount generator types, including lines & cells,
    but only or without those related to transformations.
    """
    result = list(self.getPortalAmountGeneratorTypeList())
    result += self.getPortalAmountGeneratorLineTypeList()
    result += self.getPortalAmountGeneratorCellTypeList()
    if transformation:
      return tuple(x for x in result if x.startswith('Transformation'))
    return tuple(x for x in result if not x.startswith('Transformation'))
def getPortalAmountGeneratorAllTypeList ( self , transformation ) : result = list ( self . getPortalAmountGeneratorTypeList ( ) ) result += self . getPortalAmountGeneratorLineTypeList ( ) result += self . getPortalAmountGeneratorCellTypeList ( ) if transformation : return tuple ( x for x in result if x . startswith ( 'Transformation' ) ) return tuple ( x for x in result if not x . startswith ( 'Transformation' ) )