encoding.py 379 B

1234567891011121314
  1. # -*- coding: utf-8 -*-
  2. """
  3. celery.utils.encoding
  4. ~~~~~~~~~~~~~~~~~~~~~
  5. This module has moved to :mod:`kombu.utils.encoding`.
  6. """
  7. from __future__ import absolute_import, unicode_literals
  8. from kombu.utils.encoding import ( # noqa
  9. default_encode, default_encoding, bytes_t, bytes_to_str, str_t,
  10. str_to_bytes, ensure_bytes, from_utf8, safe_str, safe_repr,
  11. )