Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

        def findbyhost1guestall(session, host_id, is_deleted=False):
    return session.query(Machine).filter(
        Machine.parent_id == host_id).filter( 
        Machine.attribute == MACHINE_ATTRIBUTE['GUEST']).filter(
        Machine.is_deleted == is_deleted).all()
        


src/k/a/karesansui-HEAD/karesansui/gadget/guest.py   karesansui(Download)
from karesansui.lib.merge import  MergeGuest, MergeHost
 
from karesansui.db.access.machine import \
     findbyhost1guestall, findbyhost1, \
     findbyguest1, \
 
            else: # .part
                models = findbyhost1guestall(self.orm, host_id)
                guests = []
                if models:

src/k/a/karesansui-HEAD/karesansui/gadget/guestreplicate.py   karesansui(Download)
from karesansui.db.access._2pysilhouette import jg_save, jg_delete
from karesansui.db.model._2pysilhouette import Job, JobGroup
from karesansui.db.access.machine import \
     findbyhost1guestall, findbyhost1, \
     findbyguest1, \