iro/model/__init__.py
changeset 312 42fd5075a5d1
parent 294 0e75bd39767d
equal deleted inserted replaced
311:81916344c63b 312:42fd5075a5d1
    22 """The model pakcage represents all data, that is stored either in database or in objects.
    22 """The model pakcage represents all data, that is stored either in database or in objects.
    23 
    23 
    24 before using the model, you have to use, you have to set the Engine with :func:`dbdefer.setEngine` and set the Threadpool with :func:`dbdefer.setPool` (see :func:`iro.main.runReactor` for initalizing this module).
    24 before using the model, you have to use, you have to set the Engine with :func:`dbdefer.setEngine` and set the Threadpool with :func:`dbdefer.setPool` (see :func:`iro.main.runReactor` for initalizing this module).
    25 """
    25 """
    26 
    26 
    27 import schema
    27 from . import schema
    28 import user
    28 from . import user
    29 import utils
    29 from . import utils
    30 import job
    30 from . import job
    31 import offer
    31 from . import offer
    32 
    32 
    33 from dbdefer import setEngine
    33 from .dbdefer import setEngine
    34 from pool import setPool
    34 from .pool import setPool