def close(self): """Close the environment. Invalidates any open iterators, cursors, and transactions. """ self._lmdb_env.close()