Generic object serialization (using Python’s pickle/cPickle modules).

See the documentation for Python’s standard *pickle* and *cPickle* modules for more details.

class gc3libs.persistence.serialization.Persistable(*args, **kwargs)

A mix-in class to mark that an object should be persisted by its ID.

Any instance of this class is saved as an ‘external reference’ when a container holding a reference to it is saved.