Skip to content

Commit

Permalink
Last time added older file, fixed it
Browse files Browse the repository at this point in the history
  • Loading branch information
aksinha334 committed Mar 14, 2023
1 parent aebd764 commit fb4ba68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion redis/commands/search/document.py
Expand Up @@ -13,4 +13,5 @@ def __repr__(self):
return f"Document {self.__dict__}"

def __getitem__(self, item):
return self.Document[item]
value = getattr(self, item)
return value

0 comments on commit fb4ba68

Please sign in to comment.