Singleton object

class core.singlobj.Singleton(decorated)[source]
get_instance(*args, **kwargs)[source]
Returns instance of the class if any present, or create new one
Parameters:
  • args – arguments for class constructor
  • kwargs – kwargs for class constructor
Returns:

instance of the class

class core.singlobj.SingletonObject[source]