diff options
Diffstat (limited to 'redis/commands/search/document.py')
-rw-r--r-- | redis/commands/search/document.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/redis/commands/search/document.py b/redis/commands/search/document.py index 26ede34..0d4255d 100644 --- a/redis/commands/search/document.py +++ b/redis/commands/search/document.py @@ -1,6 +1,3 @@ -import six - - class Document(object): """ Represents a single document in a result set @@ -9,7 +6,7 @@ class Document(object): def __init__(self, id, payload=None, **fields): self.id = id self.payload = payload - for k, v in six.iteritems(fields): + for k, v in fields.items(): setattr(self, k, v) def __repr__(self): |