sutro 0.1.23__tar.gz → 0.1.24__tar.gz

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.

Potentially problematic release.


This version of sutro might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sutro
3
- Version: 0.1.23
3
+ Version: 0.1.24
4
4
  Summary: Sutro Python SDK
5
5
  Project-URL: Homepage, https://sutro.sh
6
6
  Project-URL: Documentation, https://docs.sutro.sh
@@ -9,7 +9,7 @@ installer = "uv"
9
9
 
10
10
  [project]
11
11
  name = "sutro"
12
- version = "0.1.23"
12
+ version = "0.1.24"
13
13
  description = "Sutro Python SDK"
14
14
  readme = "README.md"
15
15
  requires-python = ">=3.10"
@@ -410,7 +410,7 @@ class Sutro:
410
410
  spinner.stop()
411
411
  return None
412
412
 
413
- results = job_results_response.json()["results"]
413
+ results = job_results_response.json()["results"]["outputs"]
414
414
 
415
415
  spinner.write(
416
416
  to_colored_text(
@@ -421,12 +421,6 @@ class Sutro:
421
421
  spinner.stop()
422
422
 
423
423
  if isinstance(data, (pd.DataFrame, pl.DataFrame)):
424
- sample_n = 1 if sampling_params is None else sampling_params["n"]
425
- if sample_n > 1:
426
- results = [
427
- results[i : i + sample_n]
428
- for i in range(0, len(results), sample_n)
429
- ]
430
424
  if isinstance(data, pd.DataFrame):
431
425
  data[output_column] = results
432
426
  elif isinstance(data, pl.DataFrame):
File without changes
File without changes
File without changes
File without changes
File without changes