Did I find the right examples for you? yes no

All Samples(17)  |  Call(5)  |  Derive(0)  |  Import(12)

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
                    package = db.query(Package).filter_by(name=pkg).one()
                except NoResultFound:
                    package = Package(name=pkg)
                    db.add(package)
                packages[pkg] = package

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/comments.py   bodhi(Download)
 
from bodhi import log
from bodhi.models import Comment, Build, Bug, CVE, Package, Update
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/services/updates.py   bodhi(Download)
 
from bodhi import log
from bodhi.models import Update, Build, Bug, CVE, Package
import bodhi.schemas
import bodhi.security

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

src/b/o/bodhi-HEAD/bodhi/tests/functional/base.py   bodhi(Download)
 
from bodhi import main
from bodhi.models import (
    Base,
    Bug,
            id_prefix=u'FEDORA', dist_tag=u'f17', version='17')
        session.add(release)
        pkg = Package(name=u'bodhi')
        session.add(pkg)
        user.packages.append(pkg)

src/b/o/bodhi-HEAD/bodhi/tests/models/test_models.py   bodhi(Download)
        try:
            config['query_wiki_test_cases'] = True
            pkg = model.Package(name=u'gnome-shell')
            pkg.fetch_test_cases(model.DBSession())
            assert pkg.test_cases
    def do_get_dependencies(self):
        return dict(
                release=model.Release(**TestRelease.attrs),
                package=model.Package(**TestPackage.attrs),
                )
    def do_get_dependencies(self):
        release = model.Release(**TestRelease.attrs)
        return dict(
            builds=[model.Build(nvr=u'TurboGears-1.0.8-3.fc11',
                                  package=model.Package(**TestPackage.attrs),

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,

  1 | 2  Next