kepler.models.models_meta module

The module defines the base class for database tables that contain information about when they were last modified.

class kepler.models.models_meta.ModifiableBase

Bases: object

The base class specifies models that contain ‘modification data’.

end

The time at which the row is deactivated.

modified_at

The time at which the modification happened.

modifier_id
modify(modifier_id, modified_at=datetime.datetime(2015, 6, 22, 18, 18, 31, 352842))

The method sets the modification information for the database row.

set_end(end=datetime.datetime(2015, 6, 22, 18, 18, 31, 352842))

The method sets the end column for the database row.

start

The time at which the row becomes active.