Skip to content

Commit 0246c35

Browse files
JCZuurmondgueniai
andauthored
Set upper SDK limit to v1 (#109)
## Changes Set upper SDK limit to 1.0 as this is a library and the projects using pytester should set the right SDK limit --------- Co-authored-by: Guenia Izquierdo Delgado <[email protected]>
1 parent cd6ea31 commit 0246c35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ classifiers = [
4848
]
4949

5050
dependencies = [
51-
"databricks-sdk>=0.40,<0.42",
51+
"databricks-sdk>=0.40,<1.0",
5252
"databricks-labs-lsql>=0.10",
5353
"pytest>=8.3",
5454
]

src/databricks/labs/pytester/fixtures/ml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def create(
163163
)
164164
endpoint = ws.serving_endpoints.create(
165165
endpoint_name,
166-
EndpointCoreConfigInput(served_models=[served_model_input]),
166+
config=EndpointCoreConfigInput(served_models=[served_model_input]),
167167
tags=tags,
168168
)
169169
if isinstance(endpoint, Mock): # For testing

0 commit comments

Comments
 (0)