Skip to content

Commit

Permalink
Merge pull request #997 from weaviate/fix-consistency-level-in-batch-…
Browse files Browse the repository at this point in the history
…rest-async

Update consistency level in batch REST API
  • Loading branch information
tsmith023 authored Apr 3, 2024
2 parents e57812c + 017f6d3 commit fd2f87d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weaviate/collections/batch/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def __init__(
async def references(self, references: List[_BatchReference]) -> BatchReferenceReturn:
params: Dict[str, str] = {}
if self.__consistency_level is not None:
params["consistency_level"] = self.__consistency_level
params["consistency_level"] = self.__consistency_level.value

refs = [
(
Expand Down

0 comments on commit fd2f87d

Please sign in to comment.