File tree Expand file tree Collapse file tree
weaviate/collections/classes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1340,6 +1340,10 @@ def test_config_create_with_properties(
13401340 name = "blob" ,
13411341 data_type = DataType .BLOB ,
13421342 ),
1343+ Property (
1344+ name = "blob_hash" ,
1345+ data_type = DataType .BLOB_HASH ,
1346+ ),
13431347 Property (
13441348 name = "phone_number" ,
13451349 data_type = DataType .PHONE_NUMBER ,
@@ -1403,6 +1407,10 @@ def test_config_create_with_properties(
14031407 "dataType" : ["blob" ],
14041408 "name" : "blob" ,
14051409 },
1410+ {
1411+ "dataType" : ["blobHash" ],
1412+ "name" : "blob_hash" ,
1413+ },
14061414 {
14071415 "dataType" : ["phoneNumber" ],
14081416 "name" : "phone_number" ,
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ class DataType(str, BaseEnum):
148148 UUID_ARRAY: UUID array data type.
149149 GEO_COORDINATES: Geo coordinates data type.
150150 BLOB: Blob data type.
151+ BLOB_HASH: Blob hash data type.
151152 PHONE_NUMBER: Phone number data type.
152153 OBJECT: Object data type.
153154 OBJECT_ARRAY: Object array data type.
@@ -167,6 +168,7 @@ class DataType(str, BaseEnum):
167168 UUID_ARRAY = "uuid[]"
168169 GEO_COORDINATES = "geoCoordinates"
169170 BLOB = "blob"
171+ BLOB_HASH = "blobHash"
170172 PHONE_NUMBER = "phoneNumber"
171173 OBJECT = "object"
172174 OBJECT_ARRAY = "object[]"
You can’t perform that action at this time.
0 commit comments