Skip to content

Commit

Permalink
Fix orm SearchFuture bug (#1744)
Browse files Browse the repository at this point in the history
Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn authored Oct 19, 2023
1 parent f52eefa commit ae3d445
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pymilvus/orm/future.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

from typing import Any

from pymilvus.client.abstract import SearchResult
from pymilvus.grpc_gen import schema_pb2

from .mutation import MutationResult
Expand Down Expand Up @@ -60,5 +59,6 @@ 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
"""

0 comments on commit ae3d445

Please sign in to comment.