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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sutro
3
- Version: 0.1.20
3
+ Version: 0.1.21
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.20"
12
+ version = "0.1.21"
13
13
  description = "Sutro Python SDK"
14
14
  readme = "README.md"
15
15
  requires-python = ">=3.10"
@@ -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
- spinner.write(to_colored_text(f'Progress can also be monitored at: {make_clickable_link(f'https://app.sutro.sh/jobs/{job_id}')}'))
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
- spinner.write(to_colored_text(f'Progress can also be monitored at: {make_clickable_link(f'https://app.sutro.sh/jobs/{job_id}')}'))
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
- spinner.write(to_colored_text(f'Progress can also be monitored at: {make_clickable_link(f'https://app.sutro.sh/jobs/{job_id}')}'))
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