Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
Provides scoped management of :class:`.Session` objects.

See :ref:`unitofwork_contextual` for a tutorial.

src/m/d/mdemos.server-1.0.1dev/mdemos/server/model/auth.py   mdemos.server(Download)
from sqlalchemy.orm import relation, synonym
 
from mdemos.server.model import DeclarativeBase, metadata, DBSession
 
__all__ = ['User', 'Group', 'Permission']

src/m/d/mdemos.server-1.0.1dev/mdemos/server/controllers/root.py   mdemos.server(Download)
 
from mdemos.server.lib.base import BaseController
from mdemos.server.model import DBSession, metadata
from mdemos.server import model
 

src/m/d/mdemos.server-1.0.1dev/mdemos/server/tests/models/__init__.py   mdemos.server(Download)
# -*- coding: utf-8 -*-
"""Unit test suite for the models of the application."""
from nose.tools import assert_equals
 
from mdemos.server.model import DBSession