pg.io.MemorySequence¶ Accessible via pg.io.MemorySequence. class MemorySequence(path, mode, records, *, perms, serializer, deserializer)[source]¶ Bases: pg.io.Sequence An in-memory sequence. Methods: close() Closes the reader. flush() Flushes the read records to the storage. close()[source]¶ Closes the reader. Return type: None flush()[source]¶ Flushes the read records to the storage.