class_docstr: Retries until an exception is raised of one or more types.
class_docstr_tok: ["Retries","until","an","exception","is","raised","of","one","or","more","types","."]
code: def __init__(
      self,
      exception_types: typing.Union[
          typing.Type[BaseException],
          typing.Tuple[typing.Type[BaseException], ...],
      ] = Exception,
  ) -> None:
      self.exception_types = exception_types
      super().__init__(lambda e: not isinstance(e, exception_types))
  
imports: import abc
  import re
  import typing
label_desc: Use image node_id 1 to create a new retry_unless_exception_type object from inherited base classes: retry_if_exception with example: obj = retry_unless_exception_type(exception_types)