sutro 0.1.20__tar.gz → 0.1.21__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.
- {sutro-0.1.20 → sutro-0.1.21}/PKG-INFO +1 -1
- {sutro-0.1.20 → sutro-0.1.21}/pyproject.toml +1 -1
- {sutro-0.1.20 → sutro-0.1.21}/sutro/sdk.py +6 -3
- {sutro-0.1.20 → sutro-0.1.21}/.gitignore +0 -0
- {sutro-0.1.20 → sutro-0.1.21}/LICENSE +0 -0
- {sutro-0.1.20 → sutro-0.1.21}/README.md +0 -0
- {sutro-0.1.20 → sutro-0.1.21}/sutro/__init__.py +0 -0
- {sutro-0.1.20 → sutro-0.1.21}/sutro/cli.py +0 -0
|
@@ -334,7 +334,8 @@ class Sutro:
|
|
|
334
334
|
success = False
|
|
335
335
|
if stay_attached and job_id is not None:
|
|
336
336
|
spinner.write(to_colored_text("Awaiting job start...", ))
|
|
337
|
-
|
|
337
|
+
clickable_link = make_clickable_link(f'https://app.sutro.sh/jobs/{job_id}')
|
|
338
|
+
spinner.write(to_colored_text(f'Progress can also be monitored at: {clickable_link}'))
|
|
338
339
|
started = self._await_job_start(job_id)
|
|
339
340
|
if not started:
|
|
340
341
|
failure_reason = self._get_failure_reason(job_id)
|
|
@@ -549,7 +550,8 @@ class Sutro:
|
|
|
549
550
|
text=to_colored_text("Awaiting status updates..."),
|
|
550
551
|
color=YASPIN_COLOR,
|
|
551
552
|
)
|
|
552
|
-
|
|
553
|
+
clickable_link = make_clickable_link(f'https://app.sutro.sh/jobs/{job_id}')
|
|
554
|
+
spinner.write(to_colored_text(f'Progress can also be monitored at: {clickable_link}'))
|
|
553
555
|
spinner.start()
|
|
554
556
|
for line in streaming_response.iter_lines():
|
|
555
557
|
if line:
|
|
@@ -1233,7 +1235,8 @@ class Sutro:
|
|
|
1233
1235
|
with yaspin(
|
|
1234
1236
|
SPINNER, text=to_colored_text("Awaiting job completion"), color=YASPIN_COLOR
|
|
1235
1237
|
) as spinner:
|
|
1236
|
-
|
|
1238
|
+
clickable_link = make_clickable_link(f'https://app.sutro.sh/jobs/{job_id}')
|
|
1239
|
+
spinner.write(to_colored_text(f'Progress can also be monitored at: {clickable_link}'))
|
|
1237
1240
|
while (time.time() - start_time) < timeout:
|
|
1238
1241
|
try:
|
|
1239
1242
|
status = self._fetch_job_status(job_id)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|