Skip to content

Conversation

@DukeM23
Copy link
Owner

@DukeM23 DukeM23 commented Aug 16, 2021

For this PR the files changed are:

  1. app/data/init.py/
  2. app/main.py
  3. app/routers/v2.py

The purpose of this PR is to apply the Singleton Pattern. The init.py file has been converted into a Singleton Class and the changes have been propagated to main.py anfd v2.py

The purpose of this is to ensure that there is only one instance of the DataSourceSingleton class and to ensure that the class maintains ability to be a global access point through the SUD.

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