def _set_default_serializer(self, name):
        try:
            (self._default_content_type, self._default_content_encoding,
             self._default_encode) = self._encoders[name]
        except KeyError:
            raise SerializerNotInstalled(
                'No encoder installed for {0}'.format(name))
Set the default serialization method used by this library.
dataset/ETHPy150Open celery/kombu/kombu/serialization.py/SerializerRegistry._set_default_serializer