Package Camelot :: Package camelot :: Package model :: Module memento :: Class Memento
[frames] | no frames]

Class Memento

source code


Keeps information on the previous state of objects, to keep track of changes and enable restore to that previous state
Nested Classes
  Admin

Inherited from elixir.entity.Entity: __metaclass__

Instance Methods

Inherited from elixir.entity.Entity: __init__, delete, expire, expunge, flush, from_dict, merge, refresh, save, save_or_update, set, to_dict, update

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from elixir.entity.Entity: get, get_by, update_or_create

Class Variables
  model = Field(Unicode(256), index= True, required= True)
  primary_key = Field(INT(), index= True, required= True)
  creation_date = Field(DateTime(), default= datetime.datetime.now)
  authentication = ManyToOne('AuthenticationMechanism', required...
  __elixir_mutators__ = [(<elixir.statements.ClassMutator object...
  mapper = None
hash(x)
  table = None
hash(x)
Properties
  description
Change

Inherited from object: __class__

Class Variable Details

authentication

Value:
ManyToOne('AuthenticationMechanism', required= True, ondelete= 'restri\
ct', onupdate= 'cascade')

__elixir_mutators__

Value:
[(<elixir.statements.ClassMutator object at 0x9804e0c>,
  (),
  {'tablename': 'memento'})]

Property Details

description

Change
Get Method:
unreachable(self) - Change