@@ -676,7 +676,7 @@ def single_exception_from_error_tuple(
676676 source = None , # type: Optional[str]
677677 full_stack = None , # type: Optional[list[dict[str, Any]]]
678678):
679- # type: (...) -> Annotated[ Dict[str, Any] ]
679+ # type: (...) -> Dict[str, Any]
680680 """
681681 Creates a dict that goes into the events `exception.values` list and is ingestible by Sentry.
682682
@@ -812,7 +812,7 @@ def exceptions_from_error(
812812 source = None , # type: Optional[str]
813813 full_stack = None , # type: Optional[list[dict[str, Any]]]
814814):
815- # type: (...) -> Tuple[int, List[Annotated[ Dict[str, Any] ]]]
815+ # type: (...) -> Tuple[int, List[Dict[str, Any]]]
816816 """
817817 Creates the list of exceptions.
818818 This can include chained exceptions and exceptions from an ExceptionGroup.
@@ -908,7 +908,7 @@ def exceptions_from_error_tuple(
908908 mechanism = None , # type: Optional[Dict[str, Any]]
909909 full_stack = None , # type: Optional[list[dict[str, Any]]]
910910):
911- # type: (...) -> List[Annotated[ Dict[str, Any] ]]
911+ # type: (...) -> List[Dict[str, Any]]
912912 exc_type , exc_value , tb = exc_info
913913
914914 is_exception_group = BaseExceptionGroup is not None and isinstance (
0 commit comments