Skip to content

fix(python): wait out a NIPOST rate limit once when confirming a CSV - #94

Merged
Adeniyikayodee merged 1 commit into
mainfrom
fix/convert-rate-limit
Oct 12, 2026
Merged

Adeniyikayodee merged 1 commit into
mainfrom
fix/convert-rate-limit

Conversation

@Adeniyikayodee

Copy link
Copy Markdown
Owner

--confirm stopped at the first 429, so a file with more distinct codes than the limit allows was left mostly unconfirmed.

It now waits a minute and asks again, once for each code. A second 429, or any other failure, stops the confirming as before.

NIPOST sends x-ratelimit-limit: 600 and does not publish the window or a Retry-After, so the minute is a guess. I did not exhaust the limit against their servers to measure it.

@Adeniyikayodee
Adeniyikayodee merged commit 5f0aa34 into main Oct 12, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant