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 findbyhostall(session, is_deleted=False):
    return session.query(Tag).join("machine").filter(
        Machine.attribute == MACHINE_ATTRIBUTE['HOST']).filter(
        Machine.is_deleted == is_deleted).all()
        


src/k/a/karesansui-HEAD/karesansui/gadget/hosttag.py   karesansui(Download)
     CHECK_EMPTY, CHECK_VALID, CHECK_LENGTH, CHECK_CHAR
from karesansui.lib.utils import is_param, json_dumps
from karesansui.db.access.tag import findbyhostall, findbyhostall
 
class HostTag(Rest):
    @auth
    def _GET(self, *param, **params):
        tags = findbyhostall(self.orm)