code: def inline_css(self, html):
          
          premailer = Premailer(html)
          inlined_html = premailer.transform(pretty_print=True)
          return inlined_html
docs: Inlines CSS defined in external style sheets.