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

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

src/t/e/testrunner-HEAD/pysystests/app/workload_manager.py   testrunner(Download)
 
    # save changes
    ObjCacher().store(CacheHelper.WORKLOADCACHEKEY, workload)
 
@celery.task(ignore_result = True)
                    # update and cache workload object
                    self.indexed_keys.append(key)
                    ObjCacher().store(CacheHelper.WORKLOADCACHEKEY, self)
            else:
                logger.error("key: '%s' does not exist in kvpair.  Smart querying disabled" % key)
        # if object has been fully setup
        if name in Workload.AUTOCACHEKEYS and self.initialized:
            ObjCacher().store(CacheHelper.WORKLOADCACHEKEY, self)
 
        # check if workload is being deactivated
    def from_cache(id_):
        return ObjCacher().instance(CacheHelper.WORKLOADCACHEKEY, id_)
 
class Template(object):
    def __init__(self, params):