This repository was archived by the owner on Aug 29, 2019. It is now read-only.

Description
I have a simple loop like so:
fori, subscriberinenumerate(account.findSubscribers()): printi, subscriber.id, subscriber.name, subscriber.email
which is constantly rate limited because the library is making requests too quickly.
I'm having to either resort so some ugly monkey patching:
#### MONKEY PATCHAWeberCollection._original_load_page_for_offset=AWeberCollection._load_page_for_offsetdefnew_load_page_for_offset(self, offset): sleep(0.25) AWeberCollection._original_load_page_for_offset(self, offset) AWeberCollection._load_page_for_offset=new_load_page_for_offset#### MONKEY PATCH
or adding a delay at perhaps i % 100.
Any better solutions?