-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Opening this issue to track improvements to the api query.
At the moment the script is querying 1 country at a time for a few reasons - there is a limit on the records to query which seems to be around 15 countries per query (depending on the indicator) and querying a single country lets us track which country is problematic if the script fails. As a consequence it is timed out when run too quickly. To solve this I put the function in a while loop that tries to run the query a maximum of 9 times before failing - which seems to be working without issues.
Line 121 in f462612
| def __query_imf(url:str) -> dict: |
Reactions are currently unavailable
Metadata
Metadata
Labels
enhancementNew feature or requestNew feature or request