Skip to content

Commit

Permalink
Update a note for installing Python SDK on Databricks Runtime 13.1+ (#…
Browse files Browse the repository at this point in the history
…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 <pawarit.laosunthara@databricks.com>
  • Loading branch information
PawaritL authored Dec 5, 2023
1 parent c1ad3de commit 6a87baf
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,17 @@ for c in w.clusters.list():
print(c.cluster_name)
```

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.
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.
**Note:** Databricks Runtime starting from version 13.1 includes a bundled version of the Python SDK.
It is highly recommended to upgrade to the latest version which you can do by running the following in a notebook cell:

```python
%pip install --upgrade databricks-sdk
```
followed by
```python
dbutils.library.restartPython()
```
## Code examples<a id="code-examples"></a>

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

0 comments on commit 6a87baf

Please sign in to comment.