diff --git a/msgspec/__init__.pyi b/msgspec/__init__.pyi index 6e4937a0..219fc122 100644 --- a/msgspec/__init__.pyi +++ b/msgspec/__init__.pyi @@ -68,7 +68,9 @@ class Struct: weakref: bool = False, dict: bool = False, ) -> None: ... - def __rich_repr__(self) -> Iterable[Tuple[str, Any]]: ... + def __rich_repr__( + self, + ) -> Iterable[Union[Any, Tuple[Any], Tuple[str, Any], Tuple[str, Any, Any]]]: ... def defstruct( name: str,