Skip to content

Commit 7408566

Browse files
maxxiefjvc00kiemon5ter
authored andcommitted
and default is an empty dict
1 parent dd6e0d9 commit 7408566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyop/storage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class RedisWrapper(StorageBase):
120120
Supports JSON-serializable data types.
121121
"""
122122

123-
def __init__(self, db_uri, collection, ttl=None, options=None):
123+
def __init__(self, db_uri, collection, ttl=None, options={}):
124124
if not _has_redis:
125125
raise ImportError("redis module is required but it is not available")
126126
self._db = Redis.from_url(db_uri, decode_responses=True, **options.get('redis_kwargs', {}))

0 commit comments

Comments
 (0)