hasadna / knesset-data-python

python module that provides api to access Israeli Parliament (Knesset) data
https://github.com/hasadna/knesset-data
1 stars 16 forks source link

Wrap knesset proxies with reblaze detection and throw a dedicated informative exception #18

Open alonisser opened 7 years ago

alonisser commented 7 years ago

Following the discussion here All outgoing knesset api proxies should be wrapped (probably in base class or something) with the reblaze detection func raise custom ReblazeBlockedException where the error message displayed to user is a link to a doc on github explaining this