1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-01 20:10:55 +01:00
lodel2_mirror/lodel/plugins/dummy_datasource/migration_handler.py
Yann 0406e91846 Moved plugins folder in lodel/
- updated scripts etc
- make tests pass
2016-11-03 17:02:46 +01:00

22 lines
591 B
Python

#-*- coding: utf-8 -*-
##@brief Abtract class for migration handlers
class DummyMigrationHandler(object):
##@brief Create a new migration handler given DB connection options
def __init__(self, *args, **kwargs):
pass
##@brief DB initialisation
#@param emclass_list list : list of EmClasses concerned by this MH
def init_db(self, emclass_list):
pass
##@todo redefine
def register_change(self, model, uid, initial_state, new_state):
pass
##@todo redefine
def register_model_state(self, em, state_hash):
pass