Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
jnumainville committed Feb 23, 2024
1 parent 3bb7add commit 0673e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/ui/src/deephaven/ui/_internal/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion plugins/ui/src/deephaven/ui/components/spectrum/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0673e64

Please sign in to comment.