Skip to content

Commit

Permalink
style: Introduce Singleton pattern for operations
Browse files Browse the repository at this point in the history
Apply Singleton pattern to the `Operations` class to ensure a single instance across the application. This enforces a consistent state and simplifies interaction with shared resources.
  • Loading branch information
RedAtman committed Jul 30, 2024
1 parent fd2f857 commit 45c9737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

from gui import SIMPLENOTE_BASE_DIR, SIMPLENOTE_SETTINGS_FILE, _show_message, open_view, remove_status
from models import Note

from .utils.patterns.singleton.base import Singleton


Expand Down

0 comments on commit 45c9737

Please sign in to comment.