Skip to content

Commit e0b8b48

Browse files
style: fix ruff formatting
Co-Authored-By: alexandre@airbyte.io <alexandre@airbyte.io>
1 parent 0496dee commit e0b8b48

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ def backoff_time(
6565
"Rate limit header '%s' detected with value: %s (status code: %s)",
6666
header,
6767
header_value,
68-
response_or_exception.status_code if hasattr(response_or_exception, "status_code") else "N/A",
68+
response_or_exception.status_code
69+
if hasattr(response_or_exception, "status_code")
70+
else "N/A",
6971
)
7072
if (
7173
self.max_waiting_time_in_seconds

0 commit comments

Comments
 (0)