def read(self): try: raw_data = (self._storage.read() or {})[self._table_name] except KeyError: return {} data = {} for key, val in iteritems(raw_data): eid = int(key) data[eid] = Element(val, eid) return data