Skip to content

Commit 1f38b0e

Browse files
tpellissierclaude
andcommitted
Use consistent [INFO] tag for backoff success messages
Address PR review feedback: use bracketed tags consistently throughout (e.g., [INFO], [WARN], [OK]) instead of mixing asterisks with bracketed tags. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 90281c4 commit 1f38b0e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/advanced/file_upload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def backoff(op, *, delays=(0, 2, 5, 10, 20, 20)):
167167
if attempts > 1:
168168
retry_count = attempts - 1
169169
print(
170-
f" * Backoff succeeded after {retry_count} retry(s); waited {total_delay}s total."
170+
f" [INFO] Backoff succeeded after {retry_count} retry(s); waited {total_delay}s total."
171171
)
172172
return result
173173
except Exception as ex: # noqa: BLE001

examples/advanced/walkthrough.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def backoff(op, *, delays=(0, 2, 5, 10, 20, 20)):
5353
if attempts > 1:
5454
retry_count = attempts - 1
5555
print(
56-
f" * Backoff succeeded after {retry_count} retry(s); waited {total_delay}s total."
56+
f" [INFO] Backoff succeeded after {retry_count} retry(s); waited {total_delay}s total."
5757
)
5858
return result
5959
except Exception as ex: # noqa: BLE001

0 commit comments

Comments
 (0)