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