Skip to content

Commit 0ba4745

Browse files
fix(weaviate): add 'priority' field to async test fixture schema
The GetMetadataFieldMinMaxAsyncTest mixin uses a field named 'priority'. Weaviate validates fields against the collection schema before querying, so the field must be declared upfront in collection_settings.
1 parent 559550b commit 0ba4745

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

integrations/weaviate/tests/test_document_store_async.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ async def document_store(self, request) -> AsyncGenerator[WeaviateDocumentStore,
5656
{"name": "category", "dataType": ["text"]},
5757
{"name": "status", "dataType": ["text"]},
5858
{"name": "number", "dataType": ["int"]},
59+
{"name": "priority", "dataType": ["int"]},
5960
],
6061
}
6162
store = WeaviateDocumentStore(

0 commit comments

Comments
 (0)