diff options
Diffstat (limited to 'redis/commands/search/query.py')
-rw-r--r-- | redis/commands/search/query.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/redis/commands/search/query.py b/redis/commands/search/query.py index e2db7a4..85a8255 100644 --- a/redis/commands/search/query.py +++ b/redis/commands/search/query.py @@ -1,6 +1,3 @@ -import six - - class Query(object): """ Query is used to build complex queries that have more parameters than just @@ -66,7 +63,7 @@ class Query(object): if not fields: return [] return \ - [fields] if isinstance(fields, six.string_types) else list(fields) + [fields] if isinstance(fields, str) else list(fields) def summarize(self, fields=None, context_len=None, num_frags=None, sep=None): |