You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Raise DB-API errors for transport failures and empty access tokens
- ThriftDatabricksClient.make_request re-raised urllib3 HTTP errors of
every request except GetOperationStatus unchanged, so an unreachable
workspace (refused connection, proxy/tunnel failure) surfaced from
connect() and execute() as a raw urllib3 MaxRetryError instead of a
DB-API error. Report it through the normal non-retryable path as a
RequestError (OperationalError).
- connect(access_token="") dropped the empty token and fell back to the
interactive browser OAuth flow, blocking on a local callback server.
An explicitly empty token now raises 'No valid authentication
settings!' at once.
Signed-off-by: Amin Ghadersohi <amin.ghadersohi@gmail.com>
0 commit comments