Skip to content

Commit

Permalink
Fix __rich_repr__ type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrist committed Oct 3, 2023
1 parent 256d84a commit 1f0c4bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion msgspec/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1f0c4bb

Please sign in to comment.