diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-11-09 12:17:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 12:17:09 +0200 |
commit | 2a52f3f84554f645c5d532e6043c46418fada5e4 (patch) | |
tree | e5052df0822df8aeb3cec9983d7f021d12dbaff7 /redis/commands/search/query.py | |
parent | 599f5a991eda770799a1aea23848b1442019deeb (diff) | |
download | redis-py-2a52f3f84554f645c5d532e6043c46418fada5e4.tar.gz |
Removing dependency on six (#1676)
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): |