Skip to content

Commit b7c5e18

Browse files
committed
Import threading
1 parent 1a01663 commit b7c5e18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/databricks/sql/thrift_backend.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1+
from decimal import Decimal
12
import errno
23
import logging
34
import math
4-
import os
55
import time
66
import uuid
77
import threading
88
from ssl import CERT_NONE, CERT_REQUIRED, create_default_context
99
from typing import List, Union
1010

1111
import pyarrow
12-
import thrift.protocol.TBinaryProtocol
1312
import thrift.transport.THttpClient
13+
import thrift.protocol.TBinaryProtocol
1414
import thrift.transport.TSocket
1515
import thrift.transport.TTransport
1616

@@ -21,6 +21,7 @@
2121
from databricks.sql.auth.authenticators import AuthProvider
2222
from databricks.sql.thrift_api.TCLIService import TCLIService, ttypes
2323
from databricks.sql import *
24+
from databricks.sql.exc import MaxRetryDurationError
2425
from databricks.sql.thrift_api.TCLIService.TCLIService import (
2526
Client as TCLIServiceClient,
2627
)

0 commit comments

Comments
 (0)