featrixsphere 0.2.5563__py3-none-any.whl → 0.2.5566__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
featrixsphere/__init__.py CHANGED
@@ -38,7 +38,7 @@ Example:
38
38
  ... labels=['Experiment A', 'Experiment B'])
39
39
  """
40
40
 
41
- __version__ = "0.2.5563"
41
+ __version__ = "0.2.5566"
42
42
  __author__ = "Featrix"
43
43
  __email__ = "support@featrix.com"
44
44
  __license__ = "MIT"
featrixsphere/client.py CHANGED
@@ -215,18 +215,18 @@ class PredictionBatch:
215
215
  )
216
216
 
217
217
  # Populate cache with results
218
- predictions = batch_results.get('results', {})
218
+ predictions = batch_results.get('predictions', [])
219
219
  successful = 0
220
220
  failed = 0
221
-
222
- for queue_id, prediction in predictions.items():
221
+
222
+ for prediction in predictions:
223
223
  if isinstance(prediction, dict):
224
224
  row_index = prediction.get('row_index', 0)
225
225
  if row_index < len(records):
226
226
  record = records[row_index]
227
227
  record_hash = self._hash_record(record)
228
228
  self._cache[record_hash] = prediction
229
-
229
+
230
230
  if prediction.get('prediction') is not None:
231
231
  successful += 1
232
232
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: featrixsphere
3
- Version: 0.2.5563
3
+ Version: 0.2.5566
4
4
  Summary: Transform any CSV into a production-ready ML model in minutes, not months.
5
5
  Home-page: https://github.com/Featrix/sphere
6
6
  Author: Featrix
@@ -0,0 +1,7 @@
1
+ featrixsphere/__init__.py,sha256=0xTcC19HBfAM1o3XtHqchORTD-0fFBscBomU1jP2xYc,1888
2
+ featrixsphere/client.py,sha256=GsGCWSvW9PhL57cgPfZZ-mkiHzXxSCaeQRZKs1kfKqY,440159
3
+ featrixsphere-0.2.5566.dist-info/METADATA,sha256=TEf5XbD_CjoJUq_M7NST61oo1IftZKKth43BI21hXcE,16232
4
+ featrixsphere-0.2.5566.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
+ featrixsphere-0.2.5566.dist-info/entry_points.txt,sha256=QreJeYfD_VWvbEqPmMXZ3pqqlFlJ1qZb-NtqnyhEldc,51
6
+ featrixsphere-0.2.5566.dist-info/top_level.txt,sha256=AyN4wjfzlD0hWnDieuEHX0KckphIk_aC73XCG4df5uU,14
7
+ featrixsphere-0.2.5566.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- featrixsphere/__init__.py,sha256=6jbzCIWkLuedQFdYgS6rGKlvi47VImbOnwPv7YeeXmg,1888
2
- featrixsphere/client.py,sha256=NoIK4NMAlivtHeldgcZJmjdn2f_Ded7qeeTDxXKWr6E,440197
3
- featrixsphere-0.2.5563.dist-info/METADATA,sha256=qpkIT3C33BT8rSFqqJ7nXlv-GOhgzw1TUrJv7AYR4w4,16232
4
- featrixsphere-0.2.5563.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
5
- featrixsphere-0.2.5563.dist-info/entry_points.txt,sha256=QreJeYfD_VWvbEqPmMXZ3pqqlFlJ1qZb-NtqnyhEldc,51
6
- featrixsphere-0.2.5563.dist-info/top_level.txt,sha256=AyN4wjfzlD0hWnDieuEHX0KckphIk_aC73XCG4df5uU,14
7
- featrixsphere-0.2.5563.dist-info/RECORD,,