interface documentation

class twisted.persisted.sob.IPersistable(Interface): (source)

Known implementations: twisted.persisted.sob.Persistent

View In Hierarchy

An object which can be saved in several formats to a file

Method setStyle Set desired format.
Method save Save object to file.
def setStyle(style): (source)

Set desired format.

ParametersstyleUndocumented (type: string (one of 'pickle' or 'source'))
def save(tag=None, filename=None, passphrase=None): (source)

Save object to file.

ParameterstagUndocumented (type: string)
filenameUndocumented (type: string)
passphraseUndocumented (type: string)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.