API Documentation for repoze.evolution


Evolve the database to the latest software version using the manager object.


This is the interface which must be supported by manager objects which are passed to e.g. evolve_to_latest.

class repoze.evolution.IEvolutionManager(Interface):
    def get_sw_version():
        """ Return the software version of the managed package """

    def get_db_version():
        """ Return the database version of the managed package """

    def evolve_to(version):
        """ Perform work to evolve to the integer ``version``.  This
        method is also responsible for setting the db version after a

The repoze.evolution.ZODBEvolutionManager implements this interface.

Table Of Contents

Previous topic

Using repoze.evolution

Next topic

repoze.evolution Changelog

This Page