Skip to content

Commit fb4ba68

Browse files
committed
Last time added older file, fixed it
1 parent aebd764 commit fb4ba68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

redis/commands/search/document.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ def __repr__(self):
1313
return f"Document {self.__dict__}"
1414

1515
def __getitem__(self, item):
16-
return self.Document[item]
16+
value = getattr(self, item)
17+
return value

0 commit comments

Comments
 (0)