def getStorageTypes(self, show_all=False): """Return a list of types of storage which are supported here. """ types = getStorageTypes() if not show_all: types = [x for x in types if x['interface'].providedBy(self)] return types
def storage_types(self): """Return UI-friendly formatted version of getStorageTypes() output """ return getStorageTypes()