Skip to content

Commit

Permalink
Reduce traitlets min version (#687)
Browse files Browse the repository at this point in the history
Closes #684
  • Loading branch information
kylebarron authored Oct 15, 2024
1 parent d254c29 commit 786c551
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 786c551

Please sign in to comment.