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

All Samples(51)  |  Call(18)  |  Derive(13)  |  Import(20)
Redis task result store.

src/c/e/celery-3.1.11/celery/tests/backends/test_redis.py   celery(Download)
    def get_backend(self):
        from celery.backends.redis import RedisBackend
 
        class _RedisBackend(RedisBackend):
            redis = redis
    def test_reduce(self):
        try:
            from celery.backends.redis import RedisBackend
            x = RedisBackend(app=self.app, new_join=True)
            self.assertTrue(loads(dumps(x)))

src/c/e/celery-HEAD/celery/tests/backends/test_redis.py   celery(Download)
    def get_backend(self):
        from celery.backends.redis import RedisBackend
 
        class _RedisBackend(RedisBackend):
            redis = redis
    def test_reduce(self):
        try:
            from celery.backends.redis import RedisBackend
            x = RedisBackend(app=self.app, new_join=True)
            self.assertTrue(loads(dumps(x)))

src/c/e/celery-redis-unixsocket-0.3/celery_redis_unixsocket/store.py   celery-redis-unixsocket(Download)
# -*- coding: utf-8 -*-
 
from celery.backends.redis import RedisBackend
from celery.utils import cached_property
 
 
class RedisUnixSocketBackend(RedisBackend):

src/c/e/celery-redis-unixsocket-HEAD/celery_redis_unixsocket/store.py   celery-redis-unixsocket(Download)
# -*- coding: utf-8 -*-
 
from celery.backends.redis import RedisBackend
from celery.utils import cached_property
 
 
class RedisUnixSocketBackend(RedisBackend):

src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/celery/tests/test_backends/test_redis.py   socorro(Download)
from celery.utils import uuid
from celery.backends import redis
from celery.backends.redis import RedisBackend
from celery.tests.utils import Case, mask_modules
 
        raise SkipTest("redis library not installed")
    try:
        tb = RedisBackend(redis_db="celery_unittest")
        try:
            # Evaluate lazy connection
        try:
            with self.assertRaises(ImproperlyConfigured):
                redis.RedisBackend()
        finally:
            redis.RedisBackend.redis = prev

src/o/h/oh-mainline-HEAD/vendor/packages/celery/celery/tests/test_backends/test_redis.py   oh-mainline(Download)
from celery.utils import uuid
from celery.backends import redis
from celery.backends.redis import RedisBackend
from celery.tests.utils import mask_modules
from celery.tests.utils import unittest
        raise SkipTest("redis library not installed")
    try:
        tb = RedisBackend(redis_db="celery_unittest")
        try:
            # Evaluate lazy connection
        try:
            with self.assertRaises(ImproperlyConfigured):
                redis.RedisBackend()
        finally:
            redis.RedisBackend.redis = prev

src/m/o/mozillians-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_redis.py   mozillians(Download)
from celery.utils import uuid
from celery.backends import redis
from celery.backends.redis import RedisBackend
from celery.tests.utils import Case, mask_modules
 
        raise SkipTest("redis library not installed")
    try:
        tb = RedisBackend(redis_db="celery_unittest")
        try:
            # Evaluate lazy connection
        try:
            with self.assertRaises(ImproperlyConfigured):
                redis.RedisBackend()
        finally:
            redis.RedisBackend.redis = prev

src/m/a/make.mozilla.org-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_redis.py   make.mozilla.org(Download)
from celery.utils import uuid
from celery.backends import redis
from celery.backends.redis import RedisBackend
from celery.tests.utils import Case, mask_modules
 
        raise SkipTest("redis library not installed")
    try:
        tb = RedisBackend(redis_db="celery_unittest")
        try:
            # Evaluate lazy connection
        try:
            with self.assertRaises(ImproperlyConfigured):
                redis.RedisBackend()
        finally:
            redis.RedisBackend.redis = prev

src/p/l/playdoh-lib-HEAD/lib/python/celery/tests/test_backends/test_redis.py   playdoh-lib(Download)
from celery.utils import uuid
from celery.backends import redis
from celery.backends.redis import RedisBackend
from celery.tests.utils import Case, mask_modules
 
        raise SkipTest("redis library not installed")
    try:
        tb = RedisBackend(redis_db="celery_unittest")
        try:
            # Evaluate lazy connection
        try:
            with self.assertRaises(ImproperlyConfigured):
                redis.RedisBackend()
        finally:
            redis.RedisBackend.redis = prev

src/k/u/kuma-lib-HEAD/packages/celery/celery/tests/test_backends/test_redis.py   kuma-lib(Download)
from celery.utils import uuid
from celery.backends import redis
from celery.backends.redis import RedisBackend
from celery.tests.utils import Case, mask_modules
 
        raise SkipTest("redis library not installed")
    try:
        tb = RedisBackend(redis_db="celery_unittest")
        try:
            # Evaluate lazy connection
        try:
            with self.assertRaises(ImproperlyConfigured):
                redis.RedisBackend()
        finally:
            redis.RedisBackend.redis = prev

  1 | 2 | 3  Next