hasadna / hasadna/knesset-data-python
Wrap knesset proxies with reblaze detection and throw a dedicated informative exception
Offen
enhancement
help wanted
- Vorherrschende Sprache
- Python
- Sterne
- 2
- Forks
- 14
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.