This is for a school project that requires aggregation.
I aggregated/ encapsulated the mirror checking in the init into another class than made sure the only way to access it was through the root object of the COVID19 class.
I also fixed the hacky way you checked for the api source type
Accomplished
Applied aggregation
Fixed some of the hacky code in the init of covid19
Changes
This is for a school project that requires aggregation.
I aggregated/ encapsulated the mirror checking in the init into another class than made sure the only way to access it was through the root object of the COVID19 class.
I also fixed the hacky way you checked for the api source type
Accomplished