class documentation
class PrepareRequestForRetry: (source)
Known subclasses: jira.resilientsession.PassthroughRetryPrepare
This class allows for the manipulation of the Request keyword arguments before a retry. The :py:meth:`.prepare` handles the processing of the Request keyword arguments.
Method | prepare |
Process the Request's keyword arguments before retrying the Request. |
@abc.abstractmethod
def prepare(self, original_request_kwargs:
def prepare(self, original_request_kwargs:
CaseInsensitiveDict
) -> CaseInsensitiveDict
:
(source)
¶
overridden in
jira.resilientsession.PassthroughRetryPrepare
Process the Request's keyword arguments before retrying the Request. Args: original_request_kwargs (CaseInsensitiveDict): The keyword arguments of the Request. Returns: CaseInsensitiveDict: The new keyword arguments to use in the retried Request.