🦠A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
Decorator pattern is applied to LocationService class and its inheritors. The common functions that were implemented in the LocationService inheritor classes were moved and implemented in their parent, LocationService. the get_locations function work as a decorator function and let the LocationService inheritors work as wrapper to the parent LocationService class
Decorator pattern is applied to LocationService class and its inheritors. The common functions that were implemented in the LocationService inheritor classes were moved and implemented in their parent, LocationService. the get_locations function work as a decorator function and let the LocationService inheritors work as wrapper to the parent LocationService class