Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
tillprochaska committed Dec 14, 2023
1 parent 1216849 commit b712136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alephclient/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,9 @@ def _bulk_chunk(
url = self._make_url(f"collections/{collection_id}/_bulk")
params = {"entityset_id": entityset_id}
if unsafe:
params['safe'] = not unsafe
params["safe"] = "false"
if cleaned:
params['clean'] = not cleaned
params["clean"] = "false"
try:
response = self.session.post(url, json=chunk, params=params)
response.raise_for_status()
Expand Down

0 comments on commit b712136

Please sign in to comment.