Skip to content

Added singleton pattern to forecast.py#94

Open
gavisharora wants to merge 1 commit intoAaronWard:masterfrom
gavisharora:task1
Open

Added singleton pattern to forecast.py#94
gavisharora wants to merge 1 commit intoAaronWard:masterfrom
gavisharora:task1

Conversation

@gavisharora
Copy link
Copy Markdown

@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