When you call emails.Message.transform with the default argument values, you get a DeprecationWarning:
$ python -W all::DeprecationWarning::
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import emails
>>> msg = emails.html(html='<p>hello world</p>')
>>> msg.transform()
/home/vasiliy/.local/env/psydiag/lib/python3.6/site-packages/emails/transformer.py:303: DeprecationWarning: update_stylesheet=True is deprecated.
warnings.warn("update_stylesheet=True is deprecated.", DeprecationWarning)
When you call
emails.Message.transform
with the default argument values, you get aDeprecationWarning
: