Skip to content

Commit

Permalink
Update objects.rb to pass tenant to batch_delete as param
Browse files Browse the repository at this point in the history
  • Loading branch information
mepatterson authored Feb 2, 2024
1 parent 48439a7 commit e92512e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/weaviate/objects.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ def batch_delete(
where:,
consistency_level: nil,
output: nil,
dry_run: nil
dry_run: nil,
tenant: nil
)
path = "batch/#{PATH}"

Expand All @@ -181,6 +182,7 @@ def batch_delete(
}
req.body["output"] = output unless output.nil?
req.body["dryRun"] = dry_run unless dry_run.nil?
req.params["tenant"] = tenant unless tenant.nil?
end

response.body
Expand Down

0 comments on commit e92512e

Please sign in to comment.