Package Camelot :: Package camelot :: Package model |
[frames] | no frames]

# Source Code for Package Camelot.camelot.model

     1  import elixir
     2  from elixir import *
     3  from sqlalchemy import *
     4  from sqlalchemy.orm import scoped_session, create_session
     5

     6  elixir.session = scoped_session( create_session )
     7

     8  import settings
     9

    10  metadata = MetaData()
    11

    12  __metadata__ = metadata
    13

    14  __metadata__.bind = settings.ENGINE()
    15  __metadata__.autoflush = False
    16  __metadata__.transactional = False
    17

    18  import authentication
    19  import fixture
    20  import i18n
    21  import memento
    22  import synchronization
    23  import type_and_status
    24  import batch_job
    25

    26  # dummy variable to prevent pycheckers warnings on unused imports

    27  __model__ = [authentication,

    28               fixture,

    29               i18n,

    30               memento,

    31               synchronization,

    32               type_and_status,

    33               batch_job]
    34