# The following has been generated automatically from src/core/layout/qgslayoutitemhtml.h try: QgsLayoutItemHtml.create = staticmethod(QgsLayoutItemHtml.create) QgsLayoutItemHtml.createFromLabel = staticmethod(QgsLayoutItemHtml.createFromLabel) QgsLayoutItemHtml.__group__ = ['layout'] except (NameError, AttributeError): pass