Did I find the right examples for you? yes no

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

src/b/o/bomfu-HEAD/web/boms.py   bomfu(Download)
 
        if q:
            qry = Bom.query(Bom.owners == user_key,
                            ndb.OR(Bom.public_id == q,
                            Bom.name == q,
                            Bom.tag_name == q))
        else:
            qry = Bom.query(Bom.owners == user_key)

src/b/o/bomfu-HEAD/admin/boms.py   bomfu(Download)
 
        if q:
            qry = Bom.query(ndb.OR(Bom.public_id == q,
                                          Bom.name == q,
                                          Bom.tag_name == q))
        else:
            qry = Bom.query()