Skip to content

Conversation

@bjy19
Copy link

@bjy19 bjy19 commented Jul 25, 2021

I have done changes in the app/data/init.py file. First I created root class called DataSource. In this class I have added some object references of following classes JhuLocationService, CSBSLocationService, NYTLocationService.
And when we call methed get of the DataSource, it will use appropriate reference and return accordingly.

@Kilo59 Kilo59 closed this Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants