This line adds confusion.  Just put the XML into a comment, or a long string if you have to, but why have the textwrap.dedent in the comment?