# Pastebin RTImO15V import purestorage fa = purestorage.FlashArray(SAN_IP, API_TOKEN) print fa.get() # for the version vols = fa.list_volumes() print len(vols) pending_vols = fa.list_volumes(pending=True) print len(pending_vols)