Skip to content

Commit

Permalink
Address review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Jul 5, 2024
1 parent f2874ab commit ae8de53
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions plugins/ui/src/deephaven/ui/types/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
from deephaven import SortDirection
from deephaven.dtypes import DType

DeephavenColor = Literal["salmon", "lemonchiffon"]
HexColor = str
Color = Union[DeephavenColor, HexColor]


class CellData(TypedDict):
"""
Expand Down Expand Up @@ -80,7 +84,7 @@ class ColumnGroup(TypedDict):
Names are other columns or groups.
"""

color: NotRequired[str]
color: Color
"""
Color for the group header.
"""
Expand Down Expand Up @@ -246,9 +250,6 @@ class SliderChange(TypedDict):
"UNIQUE",
"SKIP",
]
DeephavenColor = Literal["salmon", "lemonchiffon"]
HexColor = str
Color = Union[DeephavenColor, HexColor]
ContextMenuModeOption = Literal["CELL", "ROW_HEADER", "COLUMN_HEADER"]
ContextMenuMode = Union[ContextMenuModeOption, List[ContextMenuModeOption], None]
DataBarAxis = Literal["PROPORTIONAL", "MIDDLE", "DIRECTIONAL"]
Expand Down

0 comments on commit ae8de53

Please sign in to comment.