Databricks with the Python SDK
Avi Steinberg
Senior Software Engineer
WorkspaceClient.serving_endpoints.query()
SQLDatabase.from_databricks(catalog, schema, warehouse_id)
SQLDatabaseToolkit(db, llm)
create_sql_agent(llm, toolkit, verbose)
agent.run("your question..")
w.clusters.create(spark_version, cluster_name)
w.clusters.delete(cluster_id)
w.clusters.start(cluster_id)
w.clusters.get(cluster_id)
w.jobs.create(
name,
tasks=[
jobs.Task(
description,
notebook_task=jobs.NotebookTask(notebook_path),
task_key
)
],
schedule=jobs.CronSchedule(quartz_cron_expression,timezone_id),
timeout_seconds,
)

Databricks with the Python SDK