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

Lab8 aggregate pattern 2 #409

Closed DukeM23 closed 3 years ago

DukeM23 commented 3 years ago

Files Changed:

This is an implementation of the aggregate pattern of DataSourceRequest and Request classes. Add DataSourceRequest class in __init.py and applied the use of class within the main.py DataSourceClass must have Request object reference being passed into this class' parameters

Any comments or questions, feel free to go ahead.

The idea for the implementation image

Any comments, questions, or concerns, feel free to go ahead.

EDIT: CONTRIBUTIONS.mb was an accidental add