From fa3b879b3c4e4b68a65845fc73a13c8df47ebdc1 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 19 Nov 2026 08:04:32 +0000 Subject: [PATCH] docs(transport): Fix stale comment referencing `get_retry_after` --- sentry_sdk/transport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry_sdk/transport.py b/sentry_sdk/transport.py index d085a3cfad..28bd88dc3d 100644 --- a/sentry_sdk/transport.py +++ b/sentry_sdk/transport.py @@ -223,7 +223,7 @@ def __init__(self: "Self", options: "Dict[str, Any]") -> None: self._worker = self._create_worker(options) self._auth = self.parsed_dsn.to_auth("sentry.python/%s" % VERSION) self._disabled_until: "Dict[Optional[EventDataCategory], datetime]" = {} - # We only use this Retry() class for the `get_retry_after` method it exposes + # We only use this Retry() class for the `parse_retry_after` method it exposes self._retry = urllib3.util.Retry() self._discarded_events: "DefaultDict[Tuple[EventDataCategory, str], int]" = ( defaultdict(int)