From 3d61108c8be2279efb00a0c97699507e747afe3d Mon Sep 17 00:00:00 2001 From: Andrew Gross Date: Tue, 4 Aug 2026 11:54:23 -0400 Subject: [PATCH] Add getAll stub to dbutils.widgets --- databricks/sdk/runtime/dbutils_stub.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/databricks/sdk/runtime/dbutils_stub.py b/databricks/sdk/runtime/dbutils_stub.py index 47eb6eca7..f80f0353a 100644 --- a/databricks/sdk/runtime/dbutils_stub.py +++ b/databricks/sdk/runtime/dbutils_stub.py @@ -300,6 +300,13 @@ def getArgument(name: str, defaultValue: typing.Optional[str] = None) -> typing. """ ... + @staticmethod + def getAll() -> dict[str, str]: + """Returns a dictionary of all widget names and their current values in the notebook. + :return: Dictionary of widget names and current values. + """ + ... + @staticmethod def text(name: str, defaultValue: str, label: str = None): """Creates a text input widget with given name, default value and optional label for