code: def apply_defaults(self, flags):
          
          if not isinstance(flags, basestring):
              raise TypeError("flags can only be an instance of type basestring")
          self._call("applyDefaults",
                       in_p=[flags])
docs: Applies the defaults for the configured guest OS type. This is
          primarily for getting sane settings straight after creating a
          new VM, but it can also be applied later.
          
          
          This is primarily a shortcut, centralizing the tedious job of
          getting the recommended settings and translating them into
          settings updates. The settings are made at the end of the call,
          but not saved.
  
          in flags of type str
              Additional flags, to be defined later.
  
          raises :class:`OleErrorNotimpl`
              This method is not implemented yet.