diff --git a/plugins/ui/src/deephaven/ui/_internal/utils.py b/plugins/ui/src/deephaven/ui/_internal/utils.py index 30b96751a..1cd6b66e3 100644 --- a/plugins/ui/src/deephaven/ui/_internal/utils.py +++ b/plugins/ui/src/deephaven/ui/_internal/utils.py @@ -184,7 +184,7 @@ def wrap_callable(func: Callable) -> Callable: return func -def create_props(args: dict[str, Any]) -> tuple[Sequence[Any], dict[str, Any]]: +def create_props(args: dict[str, Any]) -> tuple[tuple[Any], dict[str, Any]]: """ Create props from the args. Combines the named props with the kwargs props. diff --git a/plugins/ui/src/deephaven/ui/components/spectrum/item.py b/plugins/ui/src/deephaven/ui/components/spectrum/item.py index 3ca2245b3..8f6efac9d 100644 --- a/plugins/ui/src/deephaven/ui/components/spectrum/item.py +++ b/plugins/ui/src/deephaven/ui/components/spectrum/item.py @@ -7,7 +7,7 @@ ItemElement = Element -def item(children: Stringable, **props: Any) -> ItemElement: +def item(*children: Stringable, **props: Any) -> ItemElement: """ An item that can be added to a menu, such as a picker