Browse Source

New headers for dummy MH

Yann Weber 8 years ago
parent
commit
f386701392
1 changed files with 10 additions and 3 deletions
  1. 10
    3
      plugins/dummy_datasource/migration_handler.py

+ 10
- 3
plugins/dummy_datasource/migration_handler.py View File

@@ -2,14 +2,21 @@
2 2
 
3 3
 ##@brief Abtract class for migration handlers
4 4
 class DummyMigrationHandler(object):
5
+
6
+    ##@brief Create a new migration handler given DB connection options
5 7
     def __init__(self, *args, **kwargs):
6 8
         pass
7 9
     
10
+    ##@brief DB initialisation
11
+    #@param emclass_list list : list of EmClasses concerned by this MH
12
+    def init_db(self, emclass_list):
13
+        pass
14
+    
15
+    ##@todo redefine
8 16
     def register_change(self, model, uid, initial_state, new_state):
9 17
         pass
10 18
 
19
+    ##@todo redefine
11 20
     def register_model_state(self, em, state_hash):
12 21
         pass
13
-
14
-    def init_db(self):
15
-        pass
22
+    

Loading…
Cancel
Save