We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 365f561 commit a84265fCopy full SHA for a84265f
celery/backends/couchbase.py
@@ -17,6 +17,7 @@
17
except ImportError:
18
Couchbase = Connection = NotFoundError = None # noqa
19
20
+from kombu.utils.encoding import str_t
21
from kombu.utils.url import _parse_url
22
23
from celery.exceptions import ImproperlyConfigured
@@ -38,6 +39,9 @@ class CouchBaseBackend(KeyValueStoreBackend):
38
39
timeout = 2.5
40
transcoder = None
41
# supports_autoexpire = False
42
+
43
+ # Use str as couchbase key not bytes
44
+ key_t = str_t
45
46
def __init__(self, url=None, *args, **kwargs):
47
"""Initialize CouchBase backend instance.
0 commit comments