code: def __init__(self):
      super().__init__()
      self.options = {
          "fix-html": True,
          "images": True,
          "tables": True,
          "styles": True,
      }
      self.table_row_selectors = [
          "table > tr",
          "table > thead > tr",
          "table > tbody > tr",
          "table > tfoot > tr",
      ]
      self.table_style = None
      self.paragraph_style = None
  
imports: import re
  import docx
  from docx import Document
  from bs4 import BeautifulSoup
  from html.parser import HTMLParser
label_desc: Use image node_id 1 to create a new HtmlToDocx object from inherited base classes: HTMLParser with example: obj = HtmlToDocx()