ExpDev07 / coronavirus-tracker-api

🦠 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!
https://coronavirus-tracker-api.herokuapp.com
GNU General Public License v3.0
1.59k stars 323 forks source link

Final exam question 7 #486

Closed DukeM23 closed 3 years ago

DukeM23 commented 3 years ago

The file(s) involved in this PR:

The purpose of this PR is to implement the Behavioural Design Pattern for question 7. The specific deign pattern implemented is the State Pattern for io.py because it's inteded to switch states between load and save Geo names.