def create(cls):
        """
        Return always the same instance of the backend class
        """
        if cls not in cls._instances:
            cls._instances[cls] = cls()

        return cls._instances[cls]
def create ( cls ) : if cls not in cls . _instances : cls . _instances [ cls ] = cls ( ) return cls . _instances [ cls ]
Return always the same instance of the backend class