There was no way to fetch the latest data on 'app/routers/v2/router_api_v2.py' once the API is started except for restarting the API.
Proposed Changes
I have attached an wrapper to each route that instantiates a new instance of 'app/integrators/covid_api_v2_integrator.py' before navigating the user to that route. I used wrapper function (that implements fasade design pattern) that acts as an front facing interface/method to mask the complexity of the underlying code. I tweaked the wrapper function to add some more functionality before getting into routing function.
Related Issue:
Proposed Changes
Checklist
Screenshots