Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

awesome kwargs ftw

  • Loading branch information...
commit 56aca64fc0a106a9a5cb1c3d8350cdf0af2911e6 1 parent 2934b44
@wyuenho wyuenho authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 redish/client.py
View
4 redish/client.py
@@ -31,12 +31,12 @@ class Client(object):
#serializer = anyjson
def __init__(self, host=None, port=None, db=None,
- serializer=None):
+ serializer=None, **kwargs):
self.host = host or self.host
self.port = port or self.port
self.serializer = serializer or self.serializer
self.db = db or self.db
- self.api = _RedisClient(self.host, self.port, self.db)
+ self.api = _RedisClient(self.host, self.port, self.db, **kwargs)
def id(self, name):
"""Return the next id for a name."""
Please sign in to comment.
Something went wrong with that request. Please try again.