Home | Trees | Indices | Help |
|
---|
|
object --+ | impl.ReprObj --+ | BaseQueryThrottle
A limit upon query usage.
Often webservices will request that users restrict themselves to a request every second, or no more than 1000 a day, etc. This is a base class for implementing those limits. Different restrictions can be implemented in derived classes.
Limits are constructed with set behaviour
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
_repr_fields =
|
|
|||
Inherited from |
|
|
Has the query exceeded its limit? This is a primarily internal method for testing whether a limit has been reached. Handling that circumstance is left to the calling method check_limit. This should be overridden in derived class to implement different throttling methods.
|
Has the query exceeded its limit? This should be called by services to test whether a limit has been reached. Handling that circumstance is left to the calling method check_limit. This should be overridden in derived class to implement different throttling methods.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed May 6 19:43:46 2009 | http://epydoc.sourceforge.net |