Skip to content

Commit 62fc025

Browse files
authored
chore: merge issues in test_client.py (#87)
1 parent c945870 commit 62fc025

File tree

3 files changed

+369
-163
lines changed

3 files changed

+369
-163
lines changed

src/gradient/resources/knowledge_bases/indexing_jobs.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,7 @@ def wait_for_completion(
394394
elapsed = time.time() - start_time
395395
if elapsed >= timeout:
396396
raise IndexingJobTimeoutError(
397-
f"Indexing job {uuid} did not complete within {timeout} seconds. "
398-
f"Current phase: {phase}",
397+
f"Indexing job {uuid} did not complete within {timeout} seconds. Current phase: {phase}",
399398
uuid=uuid,
400399
phase=phase,
401400
timeout=timeout,
@@ -765,8 +764,7 @@ async def wait_for_completion(
765764
elapsed = time.time() - start_time
766765
if elapsed >= timeout:
767766
raise IndexingJobTimeoutError(
768-
f"Indexing job {uuid} did not complete within {timeout} seconds. "
769-
f"Current phase: {phase}",
767+
f"Indexing job {uuid} did not complete within {timeout} seconds. Current phase: {phase}",
770768
uuid=uuid,
771769
phase=phase,
772770
timeout=timeout,

0 commit comments

Comments
 (0)