- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2025 06:54 AM
Hello there!
I have been using the databricks-sdk for a while, and I have managed to create a system where I have controlled when the clusters and applications start and stop.
However, now that we have adopted the new lakebase feature, we were wondering if we can do the same for those instances.
In the documentation (https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/database.html#databricks.sdk.servic...), I cannot see anything similar to what exists for applications and clusters.
For more context, we have scheduled a job that stops one of our applications doing the following:
if action == "stop" and cluster_status == "RUNNING":
print(f"Stopping cluster_id {cluster_id}")
w.clusters.delete(cluster_id)
elif action == "start" and cluster_status == "STOPPED":
print(f"Starting cluster_id {cluster_id}")
w.clusters.start(cluster_id)By having the cluster_id, we can start or stop the cluster automatically.
Does anyone from this community know how can we achieve something similar but for lakebase instances?
Thanks in advance