sutro 0.1.23__py3-none-any.whl → 0.1.24__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.
Potentially problematic release.
This version of sutro might be problematic. Click here for more details.
- sutro/sdk.py +1 -7
- {sutro-0.1.23.dist-info → sutro-0.1.24.dist-info}/METADATA +1 -1
- sutro-0.1.24.dist-info/RECORD +8 -0
- sutro-0.1.23.dist-info/RECORD +0 -8
- {sutro-0.1.23.dist-info → sutro-0.1.24.dist-info}/WHEEL +0 -0
- {sutro-0.1.23.dist-info → sutro-0.1.24.dist-info}/entry_points.txt +0 -0
- {sutro-0.1.23.dist-info → sutro-0.1.24.dist-info}/licenses/LICENSE +0 -0
sutro/sdk.py
CHANGED
|
@@ -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):
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
sutro/__init__.py,sha256=yUiVwcZ8QamSqDdRHgzoANyTZ-x3cPzlt2Fs5OllR_w,402
|
|
2
|
+
sutro/cli.py,sha256=6Qy9Vwaaho92HeO8YA_z1De4zp1dEFkSX3bEnLvdbkE,13203
|
|
3
|
+
sutro/sdk.py,sha256=UkL4Z0YOfOLGivFgMusfrazYvD4okoi5XBV6TCvtVQQ,51514
|
|
4
|
+
sutro-0.1.24.dist-info/METADATA,sha256=wFozZXGtLFNDXAyHQYVx6XX6ix3ngfGxFQKn49D4qDM,669
|
|
5
|
+
sutro-0.1.24.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
+
sutro-0.1.24.dist-info/entry_points.txt,sha256=eXvr4dvMV4UmZgR0zmrY8KOmNpo64cJkhNDywiadRFM,40
|
|
7
|
+
sutro-0.1.24.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
8
|
+
sutro-0.1.24.dist-info/RECORD,,
|
sutro-0.1.23.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
sutro/__init__.py,sha256=yUiVwcZ8QamSqDdRHgzoANyTZ-x3cPzlt2Fs5OllR_w,402
|
|
2
|
-
sutro/cli.py,sha256=6Qy9Vwaaho92HeO8YA_z1De4zp1dEFkSX3bEnLvdbkE,13203
|
|
3
|
-
sutro/sdk.py,sha256=lqRGfK-4VhssDR9tB7X41CpVz2ieL0px7-ELZySMH9s,51812
|
|
4
|
-
sutro-0.1.23.dist-info/METADATA,sha256=em17vU1utgTLHWG-qlg477CBw23QiGamjkWP47k2F1k,669
|
|
5
|
-
sutro-0.1.23.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
6
|
-
sutro-0.1.23.dist-info/entry_points.txt,sha256=eXvr4dvMV4UmZgR0zmrY8KOmNpo64cJkhNDywiadRFM,40
|
|
7
|
-
sutro-0.1.23.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
8
|
-
sutro-0.1.23.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|