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

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

src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/celery/tests/test_backends/test_database.py   socorro(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_taskset(uuid(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/o/p/openquake-packages-HEAD/celery/celery/tests/test_backends/test_database.py   openquake-packages(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_taskset(uuid(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/m/a/make.mozilla.org-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_database.py   make.mozilla.org(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_taskset(uuid(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/o/h/oh-mainline-HEAD/vendor/packages/celery/celery/tests/test_backends/test_database.py   oh-mainline(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_taskset(uuid(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/m/o/mozillians-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_database.py   mozillians(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_taskset(uuid(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/p/l/playdoh-lib-HEAD/lib/python/celery/tests/test_backends/test_database.py   playdoh-lib(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_taskset(uuid(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/k/u/kuma-lib-HEAD/packages/celery/celery/tests/test_backends/test_database.py   kuma-lib(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_taskset(uuid(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/i/n/input-lib-HEAD/packages/celery/celery/tests/test_backends/test_database.py   input-lib(Download)
            tb.mark_as_done(gen_unique_id(), 42)
            tb.save_taskset(gen_unique_id(), {"foo": "bar"})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.result_expires * 2
 
        tb.cleanup()
        s2 = tb.ResultSession()
        self.assertEqual(s2.query(Task).count(), 0)
        self.assertEqual(s2.query(TaskSet).count(), 0)

src/f/i/firefox-flicks-HEAD/vendor-local/lib/python/celery/tests/backends/test_database.py   firefox-flicks(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_group(uuid(), {'foo': 'bar'})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

src/c/e/celery-HEAD/celery/tests/backends/test_database.py   celery(Download)
            tb.mark_as_done(uuid(), 42)
            tb.save_group(uuid(), {'foo': 'bar'})
        s = tb.ResultSession()
        for t in s.query(Task).all():
            t.date_done = datetime.now() - tb.expires * 2

  1 | 2  Next