This commit is contained in:
yim7
2022-09-26 22:29:46 +08:00
parent 82898e5665
commit 49768d6e76
2 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ class QueryExecutor(Generic[Model]):
"""
model = self.__model_cls
hits = self.fetch_fields(model.default_fields())
return [model.parse_obj(hit['_source']) for hit in hits]
return [model.parse_obj(hit) for hit in hits]
def scroll(self, **kwargs):
...