code: def _cimdatetime_constructor(loader, node):
      
      cimdatetime_str = loader.construct_scalar(node)
      cimdatetime = CIMDateTime(cimdatetime_str)
      return cimdatetime
docs: PyYAML constructor function for CIMDateTime objects.
      This is needed for yaml.safe_load() to support CIMDateTime.