hasadna / hasadna/knesset-data-python

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

Aperta
#18 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
enhancement help wanted
Lingua principale
Python
Stelle
2
Fork
14
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Following the discussion [here](https://github.com/hasadna/knesset-data-python/issues/4#issuecomment-287606846)
All outgoing knesset api proxies should be wrapped (probably in base class or something) with the [reblaze detection func](https://github.com/hasadna/knesset-data-python/blob/master/knesset_data/utils/reblaze.py#L1) raise custom ReblazeBlockedException where the error message displayed to user is a link to a doc on github explaining this

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.