Skip to content

Commit 6a87baf

Browse files
authored
Update a note for installing Python SDK on Databricks Runtime 13.1+ (#474)
## Changes This PR includes the latest note for installing the SDK when using Databricks Runtime 13.1 and above (https://databricks-sdk-py.readthedocs.io/en/latest/getting-started.html#installation) ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> - [ ] `make test` run locally - [ ] `make fmt` applied - [ ] relevant integration tests applied Signed-off-by: Pawarit Laosunthara <[email protected]>
1 parent c1ad3de commit 6a87baf

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,17 @@ for c in w.clusters.list():
4444
print(c.cluster_name)
4545
```
4646

47-
Databricks SDK for Python is compatible with Python 3.7 _(until [June 2023](https://devguide.python.org/versions/))_, 3.8, 3.9, 3.10, and 3.11.
47+
Databricks SDK for Python is compatible with Python 3.7 _(until [June 2023](https://devguide.python.org/versions/))_, 3.8, 3.9, 3.10, and 3.11.
48+
**Note:** Databricks Runtime starting from version 13.1 includes a bundled version of the Python SDK.
49+
It is highly recommended to upgrade to the latest version which you can do by running the following in a notebook cell:
4850

51+
```python
52+
%pip install --upgrade databricks-sdk
53+
```
54+
followed by
55+
```python
56+
dbutils.library.restartPython()
57+
```
4958
## Code examples<a id="code-examples"></a>
5059

5160
The Databricks SDK for Python comes with a number of examples demonstrating how to use the library for various common use-cases, including

0 commit comments

Comments
 (0)