omim-cli v2.1.1
omim-cli v2.1.1
Fixed
- Stop cleanly when the OMIM API quota is exhausted (429). Previously, a
persistent 429 (daily quota used up) was caught as a generic error and the
bulk update kept retrying every remaining batch — hammering the API and
wasting a 10s backoff on each. Now a 429 that persists past the single retry
raises a dedicatedQuotaExhaustedexception, andomim-cli update --with-api
/--refreshabort the whole run gracefully:- already-fetched entries are committed (per-batch), so re-running later
resumes from where it stopped (enriched entries are skipped) - a clear
stopped early … re-run later to resumemessage is printed
- already-fetched entries are committed (per-batch), so re-running later
- Non-429 errors still skip the batch, but 5 consecutive failures also abort
to avoid endless looping on persistent errors.
Install
pip install -U omim-cli # → 2.1.1Full changelog: v2.1.0...v2.1.1