File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 12
12
from databricks .sql .thrift_api .TCLIService import ttypes
13
13
from databricks .sql .types import SSLOptions
14
14
15
- from databricks .sql .backend .models import (
15
+ from databricks .sql .backend .sea . models import (
16
16
CreateSessionRequest ,
17
17
DeleteSessionRequest ,
18
18
CreateSessionResponse ,
Original file line number Diff line number Diff line change 4
4
This package contains data models for SEA API requests and responses.
5
5
"""
6
6
7
- from databricks .sql .backend .models .requests import (
7
+ from databricks .sql .backend .sea . models .requests import (
8
8
CreateSessionRequest ,
9
9
DeleteSessionRequest ,
10
10
)
11
11
12
- from databricks .sql .backend .models .responses import (
12
+ from databricks .sql .backend .sea . models .responses import (
13
13
CreateSessionResponse ,
14
14
)
15
15
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 8
8
from databricks .sql import __version__
9
9
from databricks .sql import USER_AGENT_NAME
10
10
from databricks .sql .backend .thrift_backend import ThriftDatabricksClient
11
- from databricks .sql .backend .sea_backend import SeaDatabricksClient
11
+ from databricks .sql .backend .sea . backend import SeaDatabricksClient
12
12
from databricks .sql .backend .databricks_client import DatabricksClient
13
13
from databricks .sql .backend .types import SessionId
14
14
Original file line number Diff line number Diff line change 1
1
import pytest
2
2
from unittest .mock import patch , MagicMock
3
3
4
- from databricks .sql .backend .sea_backend import SeaDatabricksClient
4
+ from databricks .sql .backend .sea . backend import SeaDatabricksClient
5
5
from databricks .sql .backend .types import SessionId , BackendType
6
6
from databricks .sql .types import SSLOptions
7
7
from databricks .sql .auth .authenticators import AuthProvider
@@ -15,7 +15,7 @@ class TestSeaBackend:
15
15
def mock_http_client (self ):
16
16
"""Create a mock HTTP client."""
17
17
with patch (
18
- "databricks.sql.backend.sea_backend .SeaHttpClient"
18
+ "databricks.sql.backend.sea.backend .SeaHttpClient"
19
19
) as mock_client_class :
20
20
mock_client = mock_client_class .return_value
21
21
yield mock_client
You can’t perform that action at this time.
0 commit comments