You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Insee API 429 error not consistent - API rate consumption not respected #221
429 error code does not seem to be consistently return by every INSEE's endpoints.
As a side effect, this impacts the API's consumption rate, as the 429 error is rarely encountered (for instance on metadata API you may easily end up with a 4/5 queries / second on the average).
I'll try to run the tests locally (I think I had one failure I hadn't the time to debug last week): I'm still dumbfounded about those failures on github...
@hadrilec locally (python 3.10) I have only one failed test, and that had already been covered by @tfardethere. Do you want me to test locally on all different python versions?
(Saddly enough, api rate consumption doesn't seem to explain why tests are freezing on github...)
Activity
hadrilec commentedon Oct 14, 2024
indeed, I think we should include this feature back into the package. @tgrandje would you mind making the necessary changes so that tests pass?
tgrandje commentedon Oct 14, 2024
I'll try to run the tests locally (I think I had one failure I hadn't the time to debug last week): I'm still dumbfounded about those failures on github...
tgrandje commentedon Oct 14, 2024
@hadrilec locally (python 3.10) I have only one failed test, and that had already been covered by @tfardet here. Do you want me to test locally on all different python versions?
(Saddly enough, api rate consumption doesn't seem to explain why tests are freezing on github...)
hadrilec commentedon Oct 14, 2024
alright, let's merge then?
tgrandje commentedon Oct 14, 2024
I'd say yes