Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/l/a/labmanager-HEAD/labmanager/sample_data.py   labmanager(Download)
 
from .db import db_session, init_db
from .models import LtUser, PermissionToLt, Laboratory, PermissionToLtUser
from .models import LearningTool, RLMS, PermissionToCourse, BasicHttpCredentials, ShindigCredentials, Course
 
    db_session.add(rlms_weblabdeusto)
 
    robot_lab = Laboratory(name = u"robot-movement@Robot experiments",
                           laboratory_id = u"robot-movement@Robot experiments",
                           rlms = rlms_weblabdeusto)
    db_session.add(rlms_unr)
 
    physics_lab = Laboratory(name = u'unr-physics',
                           laboratory_id = u'unr-physics',
                           rlms = rlms_unr)