1 """
2 kb package is devoted to manage access to postgresql database from python
3 script
4 """
5
6
8
10 raise RuntimeError('pyROM.KB.Connection is an abstract class')
11
13 raise RuntimeError('pyROM.KB.Connection.cursor is an abstract function')
14
16 raise RuntimeError('pyROM.KB.Connection.commit is an abstract function')
17
19 raise RuntimeError('pyROM.KB.Connection.rollback is an abstract function')
20
23
24
26
28 raise RuntimeError('pyROM.KB.Cursor is an abstract class')
29
31 raise RuntimeError('pyROM.KB.Cursor.execute is an abstract function')
32
33 __call__=execute
34
35
36 _current_connection = None
37
54