Skip to content

Commit

Permalink
docs: update docs singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
ACornuIGN committed May 15, 2024
1 parent 1681276 commit cd69efa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions borea/utils/singleton/singleton.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
"""
Module dor class singleton
Module for class singleton
"""


class Singleton(type):
"""
Class Singletonfor dtm.
Class Singleton for Dtm and ProjEngine.
It's a design pattern, belonging to the category of creation patterns,
whose aim is to restrict the instantiation of a class to a single object.
"""
_instances = {}

Expand Down

0 comments on commit cd69efa

Please sign in to comment.