def __repr__(self):
        if hasattr(self, 'spatial'):
            return '<Persistent Store: name={0}, initializer={1}, spatial={2}>'.format(self.name,
                                                                                       self.initializer,
                                                                                       self.spatial)
        else:
            return '<Persistent Store: name={0}, initializer={1}, spatial={2}>'.format(self.name,
                                                                                       self.initializer,
                                                                                       self.postgis)
String representation
dataset/ETHPy150Open tethysplatform/tethys/tethys_apps/base/persistent_store.py/PersistentStore.__repr__