Skip to content

Commit

Permalink
Add default values to Pop to prevent exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: zhenshan.cao <[email protected]>
  • Loading branch information
czs007 committed Nov 25, 2024
1 parent 89cf1a9 commit b09c323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/client/grpc_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def delete(
)
future = self._stub.Delete.future(req, timeout=timeout)
if kwargs.get("_async", False):
cb = kwargs.pop("_callback")
cb = kwargs.pop("_callback", None)
f = MutationFuture(future, cb, timeout=timeout, **kwargs)
f.add_callback(ts_utils.update_ts_on_mutation(collection_name))
return f
Expand Down

0 comments on commit b09c323

Please sign in to comment.