Skip to content

Commit fd2f87d

Browse files
authored
Merge pull request #997 from weaviate/fix-consistency-level-in-batch-rest-async
Update consistency level in batch REST API
2 parents e57812c + 017f6d3 commit fd2f87d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weaviate/collections/batch/rest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def __init__(
6868
async def references(self, references: List[_BatchReference]) -> BatchReferenceReturn:
6969
params: Dict[str, str] = {}
7070
if self.__consistency_level is not None:
71-
params["consistency_level"] = self.__consistency_level
71+
params["consistency_level"] = self.__consistency_level.value
7272

7373
refs = [
7474
(

0 commit comments

Comments
 (0)