Skip to content

Conversation

modasserbillah
Copy link
Contributor

Problem

The Borg pattern should not change state on new instance creation unless explicitly changed. Currently all new instances change the state to Init.

Solution

Update the pattern to reflect how it should behave. The Borg class should be subclassed and used. State should only change if explicitly changed.

Updated the docstring slightly to reflect the update.

Reference

Related Issue

@faif faif merged commit fffc37f into faif:master Jul 5, 2020
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