Skip to content

Commit

Permalink
Reduce traitlets min version
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Oct 15, 2024
1 parent d254c29 commit c0b6a6f
Show file tree
Hide file tree
Showing 3 changed files with 424 additions and 488 deletions.
5 changes: 4 additions & 1 deletion lonboard/traits.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,10 @@ def validate(self, obj: HasTraits | None, value: Any) -> Any:
T = TypeVar("T")


class VariableLengthTuple(traitlets.Container[Tuple[T, ...]]):
# TODO: switch to
# class VariableLengthTuple(traitlets.Container[Tuple[T, ...]])
# When we can upgrade to traitlets 5.10 (depends on Colab upgrading)
class VariableLengthTuple(traitlets.Container):
"""
An instance of a Python tuple with variable numbers of elements of the same type.
"""
Expand Down
Loading

0 comments on commit c0b6a6f

Please sign in to comment.