Skip to content

Commit

Permalink
Added extra space
Browse files Browse the repository at this point in the history
  • Loading branch information
jprakash-db committed Dec 20, 2024
1 parent ea686c7 commit e6e573c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/databricks/sql/auth/retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,7 @@ def should_retry(self, method: str, status_code: int) -> Tuple[bool, str]:
Returns True if the request should be retried. Returns False or raises an exception
if a retry would violate the configured policy.
"""

# Request succeeded. Don't retry.
if status_code == 200:
return False, "200 codes are not retried"
Expand Down

0 comments on commit e6e573c

Please sign in to comment.