class documentation

class TooManyRequests(_RetryAfter):

View In Hierarchy

429 Too Many Requests

The server is limiting the rate at which this user receives responses, and this request exceeds that rate. (The server may use any convenient method to identify users and their request rates). The server may include a "Retry-After" header to indicate how long the user should wait before retrying.

Changed in version 1.0: Added retry_after parameter.
Parameters
retry​_afterIf given, set the Retry-After header to this value. May be an int number of seconds or a ~datetime.datetime.
Class Variable code Undocumented
Class Variable description Undocumented

Inherited from _RetryAfter:

Method __init__ Undocumented
Method get​_headers Get a list of headers.
Instance Variable retry​_after Undocumented

Inherited from HTTPException (via _RetryAfter):

Class Method wrap Create an exception that is a subclass of the calling HTTP exception and the exception argument.
Method __call__ Call the exception as WSGI application.
Method __repr__ Undocumented
Method __str__ Undocumented
Method get​_body Get the HTML body.
Method get​_description Get the description.
Method get​_response Get a response object. If one was passed to the exception it's returned directly.
Instance Variable response Undocumented
Property name The status name.
code: int =
description: str =