Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2021 03:37 PM
It's set as an environment variable called `DATABRICKS_RUNTIME_VERSION`
In your init scripts, you just need to add a line to display or save the info (see python example below):
import os
print("DATABRICKS_RUNTIME_VERSION:",os.environ.get('DATABRICKS_RUNTIME_VERSION',None))