code: def MI_enumInstanceNames(self,
                               env,
                               objPath):
          # pylint: disable=invalid-name
          
  
          logger = env.get_logger()
          logger.log_debug('CIMProvider2 MI_enumInstanceNames called...')
          model = pywbem.CIMInstance(classname=objPath.classname,
                                     path=objPath)
          gen = self.enum_instances(env=env,
                                    model=model,
                                    keys_only=True)
          try:
              iter(gen)
          except TypeError:
              logger.log_debug('CIMProvider2 MI_enumInstanceNames returning')
              return
  
          for inst in gen:
              yield inst.path
          logger.log_debug('CIMProvider2 MI_enumInstanceNames returning')
docs: Return instance names of a given CIM class
  
          Implements the WBEM operation EnumerateInstanceNames in terms
          of the enum_instances method.  A derived class will not normally
          override this method.