hpcflow.sdk.app.Singleton#

class hpcflow.sdk.app.Singleton#

Bases: type

Metaclass that enforces that only one instance of a class can be made.

Methods

get_instance

Retrieve the instance of the singleton class if initialised.

mro

Return a type's method resolution order.

get_instance()#

Retrieve the instance of the singleton class if initialised.

mro()#

Return a type’s method resolution order.