src/pyams_utils/interfaces/site.py
changeset 145 1a58b78a8f99
parent 45 e5252c302dbf
child 146 46bc9bf127bf
equal deleted inserted replaced
144:c9e3cfbbe4ad 145:1a58b78a8f99
    39 
    39 
    40 
    40 
    41 class ISiteGenerations(Interface):
    41 class ISiteGenerations(Interface):
    42     """Site generations interface"""
    42     """Site generations interface"""
    43 
    43 
       
    44     order = Attribute("Order in which generations should be upgraded")
    44     generation = Attribute("Current schema generation")
    45     generation = Attribute("Current schema generation")
    45 
    46 
    46     def evolve(self, site, current=None):
    47     def evolve(self, site, current=None):
    47         """Evolve from current generation to last one"""
    48         """Evolve database from current generation to last one"""
    48 
    49 
    49 
    50 
    50 class IStaticConfigurationManager(IAttributeAnnotatable):
    51 class IStaticConfigurationManager(IAttributeAnnotatable):
    51     """Static configuration manager marker interface"""
    52     """Static configuration manager marker interface"""
    52 
    53