Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
Signed-off-by: wiseaidev <business@wiseai.dev>
  • Loading branch information
wiseaidev committed Aug 10, 2022
1 parent 42f870d commit 3693e81
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions aredis_om/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1196,14 +1196,11 @@ def to_string(s):
offset = 1 # The first item is the count of total matches.

for i in xrange(1, len(res), step):
fields_offset = offset

fields = dict(
dict(
izip(
map(to_string, res[i + fields_offset][::2]),
map(to_string, res[i + fields_offset][1::2]),
)
zip(
map(to_string, res[i + offset][::2]),
map(to_string, res[i + offset][1::2]),
)
)

Expand Down

0 comments on commit 3693e81

Please sign in to comment.