input: from typing import List
  
  def create_xml_document(items: List[str]) -> None:
      """ Constructs an XML document in Python that contains the given list of items.
      >>> create_xml_document(['Item1', 'Item2', 'Item3'])
      # Output: An XML file named 'data.xml' with the structure:
      # <data>
      #   <item>Item1</item>
      #   <item>Item2</item>
      #   <item>Item3</item>
      # </data>
      """
output:     from xml.etree.ElementTree import Element, SubElement, tostring
      from xml.dom.minidom import parseString
  
      root = Element('data')
      for item in items:
          item_element = SubElement(root, 'item')
          item_element.text = item
  
      xml_str = parseString(tostring(root)).toprettyxml(indent="  ")
      with open('data.xml', 'w') as f:
          f.write(xml_str)