-
Notifications
You must be signed in to change notification settings - Fork 10
Set upper SDK limit to v1 #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
✅ 41/41 passed, 5 skipped, 15m6s total Running from acceptance #195 |
| endpoint = ws.serving_endpoints.create( | ||
| endpoint_name, | ||
| EndpointCoreConfigInput(served_models=[served_model_input]), | ||
| config=EndpointCoreConfigInput(served_models=[served_model_input]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Became a keyword argument in the latest sdk release: databricks/databricks-sdk-py@5339396#diff-5e9fe48f91fd6d3ad5a1266478600dde8698a2bba3c809367e560c7cef5f75caR3442-R3450
|
@gueniai : Could you bypass the CI, it fails on the downstream UCX, we can handle that separately |
* Set upper SDK limit to v1 ([#109](#109)). In this change, the upper SDK limit is set to version 1.0 in the pyproject.toml file of a library project, allowing projects using this library to set their own appropriate SDK limits. The databricks-sdk dependency is updated from "<0.42" to "<1.0" as a result of this commit. Additionally, the `create` function in the `ml.py` file of the pytester library has been modified. Previously, the `EndpointCoreConfigInput` object was passed as an argument to the `serving_endpoints.create` method using the keyword argument `served_models`. Now, `EndpointCoreConfigInput` is passed as a keyword argument `config`, which contains the `served_models` parameter, aligning with the new SDK version 1.0 and ensuring consistent endpoint creation. These changes are intended to ensure compatibility with a variety of SDK versions and improve the library's usability for software engineers.
* Set upper SDK limit to v1 ([#109](#109)). In this change, the upper SDK limit is set to version 1.0 in the pyproject.toml file of a library project, allowing projects using this library to set their own appropriate SDK limits. The databricks-sdk dependency is updated from "<0.42" to "<1.0" as a result of this commit. Additionally, the `create` function in the `ml.py` file of the pytester library has been modified. Previously, the `EndpointCoreConfigInput` object was passed as an argument to the `serving_endpoints.create` method using the keyword argument `served_models`. Now, `EndpointCoreConfigInput` is passed as a keyword argument `config`, which contains the `served_models` parameter, aligning with the new SDK version 1.0 and ensuring consistent endpoint creation. These changes are intended to ensure compatibility with a variety of SDK versions and improve the library's usability for software engineers.
Changes
Set upper SDK limit to 1.0 as this is a library and the projects using pytester should set the right SDK limit