@classmethod
def get_backend(cls, backend=None):
    """Choose a backend instance.

        :param backend=None:  If provided, use this.

        ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

        :return:  Return backend if it is not None, otherwise try
                  to choose a reasonable bakend somehow.

        ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-

        PURPOSE:  Sub-clases can override this to provide a default backend.
        """
    return backend
