Did I find the right examples for you? yes no

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/t/o/tornado-bootstrap-HEAD/src/util/database.py   tornado-bootstrap(Download)
 
from config.database import database_uri
from config.schema import map_entities
from sqlalchemy import create_engine
from sqlalchemy.orm.session import sessionmaker
 
if __name__ == "__main__":
    metadata = map_entities()
    metadata.create_all(_engine)

src/t/o/tornado-bootstrap-HEAD/src/server.py   tornado-bootstrap(Download)
import tornado.ioloop
from config.routes import application
from config.schema import map_entities
 
if __name__ == "__main__":
    print "Server started"
 
    map_entities()

src/t/o/tornado-bootstrap-HEAD/test/unit/models/entity_spec.py   tornado-bootstrap(Download)
# Copyright (c) 2010 Pedro Matiello <pmatiello@gmail.com>
 
from mockito import any, mock, verify, when
from models.entity import entity, entity_repository
from config.schema import map_entities
 
class entity_repository_spec():
 
    map_entities()