@@ -71,7 +71,7 @@ def do_POST(self):
7171 {
7272 "data": { "float32": [ 222.33, 44.55, 6.678 ] },
7373 "key": "test-key3",
74- "metadata": { "model": "test", "dimension": 3 }
74+ "metadata": { "model": "test", "dimension": 3, "null_field": null, "bool_field": false, "float_field": 1.23, "array_field": [1, "two", {"three": 3}] }
7575 }
7676 ]
7777}
@@ -84,12 +84,12 @@ def do_POST(self):
8484 {
8585 "data": { "float32": [ 123.45, 67.89, 0.0 ] },
8686 "key": "test-key1",
87- "metadata": { "model": "test", "dimension": 3 }
87+ "metadata": { "model": "test", "dimension": 3, "null_field": null, "bool_field": false, "float_field": 1.23, "array_field": [1, "two", {"three": 3}] }
8888 },
8989 {
9090 "data": { "float32": [ 987.65, 43.21, -4.2 ] },
9191 "key": "test-key2",
92- "metadata": { "model": "test", "dimension": 3 }
92+ "metadata": { "model": "test", "dimension": 3, "null_field": null, "bool_field": false, "float_field": 1.23, "array_field": [1, "two", {"three": 3}] }
9393 }
9494 ]
9595}
@@ -102,13 +102,13 @@ def do_POST(self):
102102 "data": { "float32": [ 123.45, 67.89, 0.0 ] },
103103 "distance": 0.84733,
104104 "key": "test-key1",
105- "metadata": { "model": "test", "dimension": 3 }
105+ "metadata": { "model": "test", "dimension": 3, "null_field": null, "bool_field": false, "float_field": 1.23, "array_field": [1, "two", {"three": 3}] }
106106 },
107107 {
108108 "data": { "float32": [ 987.65, 43.21, -4.2 ] },
109109 "distance": 0.32804,
110110 "key": "test-key2",
111- "metadata": { "model": "test", "dimension": 3 }
111+ "metadata": { "model": "test", "dimension": 3, "null_field": null, "bool_field": false, "float_field": 1.23, "array_field": [1, "two", {"three": 3}] }
112112 }
113113 ]
114114}
@@ -121,7 +121,7 @@ def do_POST(self):
121121 "data": { "float32": [ 123.45, 67.89, 0.0 ] },
122122 "distance": 0.84733,
123123 "key": "test-key1",
124- "metadata": { "model": "test", "dimension": 3 }
124+ "metadata": { "model": "test", "dimension": 3, "null_field": null, "bool_field": false, "float_field": 1.23, "array_field": [1, "two", {"three": 3}] }
125125 }
126126 ]
127127}
0 commit comments