Skip to content

Commit 1215fd8

Browse files
shivam2680varun-edachali-dbx
authored andcommitted
Add version check for urllib3 in backoff calculation (#526)
Signed-off-by: Shivam Raj <shivam.raj@databricks.com> Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 12ce717 commit 1215fd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/databricks/sql/auth/retry.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
from urllib3 import HTTPResponse as BaseHTTPResponse
1818
from urllib3 import Retry
1919
from urllib3.util.retry import RequestHistory
20+
from packaging import version
21+
2022

2123

2224
from databricks.sql.exc import (

0 commit comments

Comments
 (0)