code: def _get_default_retry_params():
    
    default = getattr(_thread_local_settings, 'default_retry_params', None)
    if default is None or not default.belong_to_current_request():
      return RetryParams()
    else:
      return copy.copy(default)
docs: Get default RetryParams for current request and current thread.
  
    Returns:
      A new instance of the default RetryParams.