class_docstr: Retries if any of the causes of the raised exception is of one or more types.
  
  The check on the type of the cause of the exception is done recursively (until finding
  an exception in the chain that has no `__cause__`)
class_docstr_tok: ["Retries","if","any","of","the","causes","of","the","raised","exception","is","of","one","or","more","types",".","The","check","on","the","type","of","the","cause","of","the","exception","is","done","recursively","(","until","finding","an","exception","in","the","chain","that","has","no","`","__cause__","`",")"]
code: def __init__(
      self,
      exception_types: typing.Union[
          typing.Type[BaseException],
          typing.Tuple[typing.Type[BaseException], ...],
      ] = Exception,
  ) -> None:
      self.exception_cause_types = exception_types
  
imports: import abc
  import re
  import typing
label_desc: Use image node_id 1 to create a new retry_if_exception_cause_type object from inherited base classes: retry_base with example: obj = retry_if_exception_cause_type(exception_types)