The `increment` method in the `urllib3.util.retry.Retry` class is used to increment the retry count of a request. It increases the `Retry` counter by 1, indicating that the request has been attempted an additional time. This method is helpful in keeping track of the number of retries made for a request and can be used while implementing automatic retries for failed requests in Python using the `urllib3` library.
Python Retry.increment - 57 examples found. These are the top rated real world Python examples of urllib3.util.retry.Retry.increment extracted from open source projects. You can rate examples to help us improve the quality of examples.