Skip to content

Conversation

@emlee518
Copy link
Owner

Created 4 new classes called "State", "jhu", "csbs", and "nyt" to help implement a state pattern to the Sources class in "app/routers/v2.py".
The data source has three states: "jhu", "csbs", and "nyt".
The "set_state" function can change the state of the data source.
Also updated how the default source "jhu" can be called.

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.

1 participant