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

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

src/p/r/Products.AdvancedQuery-3.0.3/Products/AdvancedQuery/__init__.py   Products.AdvancedQuery(Download)
except ImportError: from Globals import InitializeClass
 
from AdvancedQuery import Eq, In, Le, Ge, \
     MatchGlob, MatchRegexp, \
     Between, Not, And, Or, Generic, Indexed, \
        # Note: we use inoffical API.
        if 'effective' in indexes: query &= Le('effective', now)
        if 'expires' in indexes: query &= Ge('expires', now)
    return _eval(self,query,sortSpecs)