In this covid19_api_v2_integrator.py file I added an observer behavioural pattern by implementing an observer_trigger method that will help the API observe when there is a change in the request. I also created an add_observer method to add the observer to the end of the get_current, get_current_US, and get_country method to showcase the functionality of the observer.
Proposed Changes
In this covid19_api_v2_integrator.py file I added an observer behavioural pattern by implementing an observer_trigger method that will help the API observe when there is a change in the request. I also created an add_observer method to add the observer to the end of the get_current, get_current_US, and get_country method to showcase the functionality of the observer.