Did I find the right examples for you? yes no

All Samples(13)  |  Call(3)  |  Derive(0)  |  Import(10)

src/b/o/bodhi-HEAD/tools/pickledb.py   bodhi(Download)
    import transaction
    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
                cve = db.query(CVE).filter_by(cve_id=cve_id).one()
            except NoResultFound:
                cve = CVE(cve_id=cve_id)
                db.add(cve)
            update.cves.append(cve)

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/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/tests/functional/base.py   bodhi(Download)
 
from bodhi import main
from bodhi.models import (
    Base,
    Bug,
        session.add(bug)
        update.bugs.append(bug)
        cve = CVE(cve_id="CVE-1985-0110")
        session.add(cve)
        update.cves.append(cve)

src/b/o/bodhi-HEAD/bodhi/tests/models/test_models.py   bodhi(Download)
                                  release=release)],
            bugs=[model.Bug(bug_id=1), model.Bug(bug_id=2)],
            cves=[model.CVE(cve_id=u'CVE-2009-0001')],
            release=release,
            user=model.User(name=u'lmacken')

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,

  1 | 2  Next