code: def CreateInstance(self, *args, **kwargs):
          
  
          inst = args[0] if args else kwargs['NewInstance']
          try:
              self.instances[self.default_namespace].append(inst)
          except KeyError:
              self.instances[self.default_namespace] = [inst]
          return inst.path
docs: Create a CIM instance in the local repository of this class.
  
          For a description of the parameters, see
          :meth:`pywbem.WBEMConnection.CreateInstance`.