Did I find the right examples for you? yes no

All Samples(14)  |  Call(4)  |  Derive(0)  |  Import(10)

src/b/o/bodhi-HEAD/tools/pickledb.py   bodhi(Download)
    from bodhi.models import DBSession, Base
    from bodhi.models import Release, Update, Build, Comment, User, Bug, CVE
    from bodhi.models import Package, Group
    from bodhi.models import UpdateType, UpdateStatus, UpdateRequest
    from sqlalchemy import create_engine
                    group = db.query(Group).filter_by(name=group).one()
                except NoResultFound:
                    group = Group(name=group)
                    db.add(group)
                    db.flush()

src/b/o/bodhi-HEAD/bodhi/services/builds.py   bodhi(Download)
 
from bodhi import log
from bodhi.models import Update, Build, Bug, CVE, Package, User, Release, Group
import bodhi.schemas
import bodhi.security

src/b/o/bodhi-HEAD/bodhi/services/user.py   bodhi(Download)
 
from bodhi import log
from bodhi.models import Update, Package, User, Comment, Group
import bodhi.services.updates
import bodhi.schemas

src/b/o/bodhi-HEAD/bodhi/tests/functional/base.py   bodhi(Download)
 
from bodhi import main
from bodhi.models import (
    Base,
    Bug,
    def populate(self):
        session = DBSession()
        user = User(name=u'guest')
        session.add(user)
        provenpackager = Group(name=u'provenpackager')
        session.add(provenpackager)
        packager = Group(name=u'packager')

src/b/o/bodhi-HEAD/bodhi/tests/models/test_models.py   bodhi(Download)
    def do_get_dependencies(self):
        group = model.Group(name=u'proventesters')
        return dict(groups=[group])
 
 

src/b/o/bodhi-HEAD/bodhi/tests/functional/test_comments.py   bodhi(Download)
from bodhi import main
from bodhi.config import config
from bodhi.models import (
    Base,
    Bug,

src/b/o/bodhi-HEAD/bodhi/tests/functional/test_updates.py   bodhi(Download)
from bodhi import main
from bodhi.config import config
from bodhi.models import (
    Base,
    Bug,

src/b/o/bodhi-HEAD/bodhi/tests/functional/test_users.py   bodhi(Download)
 
from bodhi import main
from bodhi.models import (
    Base,
    Bug,

src/b/o/bodhi-HEAD/bodhi/tests/functional/test_releases.py   bodhi(Download)
 
from bodhi import main
from bodhi.models import (
    Base,
    Bug,

src/b/o/bodhi-HEAD/bodhi/tests/functional/test_builds.py   bodhi(Download)
 
from bodhi import main
from bodhi.models import (
    Base,
    Bug,

  1 | 2  Next