'Set the default cache serialization format.
.. versionadded:: 1.8
This serializer is used by :meth:`store_data()` and
:meth:`stored_data()`
The specified serializer must already by registered with the
:class:`SerializerManager` at `~workflow.workflow.manager`,
otherwise a :class:`ValueError` will be raised.
:param serializer_name: Name of serializer to use by default.'

@data_serializer.setter
def data_serializer(self, serializer_name):

    if (manager.serializer(serializer_name) is None):
        raise ValueError(u'Unknown    serializer    :    `{0}`.    Register    your    serializer    with    `manager`    first.'.format(serializer_name))
    self.logger.debug(u'default    data    serializer    set    to    `{0}`'.format(serializer_name))
    self._data_serializer = serializer_name
