Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added singleton pattern to forecast.py #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gavisharora
Copy link

@gavisharora gavisharora commented Apr 15, 2021

  • A singleton pattern has been applied to forecast.py to prevent multiple instances of forecast.py
  • This makes sure that the methods in forecast can be called on the same instance so as to prevent any kind of overlapping of different instances
  • It should be noted that forecast.py is one of the most vital parts of this program which involves a lot of intensive work so a singleton pattern would be appropriate here

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