class_docstr: Describes key aspects of RetryPolicy.
  
  It's advised that different policies are implemented as different subclasses.
code: def __init__(
      self,
      max_retries: Optional[int] = None,
      initial_backoff: int = 1000,
      max_backoff: Optional[int] = None,
      backoff_multiplier: float = 1.0,
      jitter: int = 0,
      min_jitter_threshold: int = 0,
  ):
      self.max_retries = max_retries
      self.initial_backoff = initial_backoff
      self.max_backoff = max_backoff
      self.backoff_multiplier = backoff_multiplier
      self.jitter = jitter
      self.min_jitter_threshold = min_jitter_threshold
      self._name = self.__class__.__name__
  
imports: import grpc
  import random
  import time
  import typing
  from typing import Optional, Callable, Generator, List, Type
  from types import TracebackType
  from pyspark.sql.connect.client.logging import logger
  from pyspark.errors import PySparkRuntimeError, RetriesExceeded
label_desc: Use image node_id 1 to create a new RetryPolicy object  with example: obj = RetryPolicy(max_retries, initial_backoff, max_backoff, backoff_multiplier, jitter, min_jitter_threshold)