Skip to content

Commit

Permalink
Fix orm SearchFuture bug
Browse files Browse the repository at this point in the history
Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn committed Oct 19, 2023
1 parent 16edc8c commit 7bb9c9b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pymilvus/orm/future.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,7 @@ def on_response(self, res: Any):


class SearchFuture(BaseFuture):
def on_response(self, res: Any):
return SearchResult(res)
"""SearchFuture of async already returns SearchResult, add BaseFuture
functions into async.SearchFuture
"""
pass

0 comments on commit 7bb9c9b

Please sign in to comment.