code: def im(mn, op, params, **kwparams):
      
  
      return CONN.InvokeMethod(mn, op, params, **kwparams)
docs: This function is a wrapper for
      :meth:`~pywbem.WBEMConnection.InvokeMethod`.
  
      Invoke a method on a target instance or on a target class.
  
      The methods that can be invoked are static and non-static methods defined
      in a class (also known as *extrinsic* methods). Static methods can be
      invoked on instances and on classes. Non-static methods can be invoked only
      on instances.
  
      Parameters:
  
        mn (:term:`string`):
            Method name.
  
        op (:class:`~pywbem.CIMInstanceName`):
            Target instance path.
  
        op (:class:`~pywbem.CIMClassName`):
            Target class path.
  
        params (:term:`py:iterable`):
            Input parameters for the method.
  
            Each item in the iterable is a single parameter value and can be any
            of:
  
              * :class:`~pywbem.CIMParameter` representing a parameter value. The
                `name`, `value`, `type` and `embedded_object` attributes of this
                object are used.
  
              * tuple of name, value, with:
  
                  - name (:term:`string`): Parameter name (case independent)
                  - value (:term:`CIM data type`): Parameter value
  
        **kwparams (named/keyword arguments):
            Input parameters for the method.
  
              * key (:term:`string`): Parameter name (case independent)
              * value (:term:`CIM data type`): Parameter value
  
      Returns:
  
        tuple(rv, out), with these tuple items:
  
          * rv (:term:`CIM data type`):
            Return value of the CIM method.
          * out (:ref:`NocaseDict`):
            Dictionary with all provided output parameters of the CIM method,
            with:
  
            * key (:term:`unicode string`):
              Parameter name
            * value (:term:`CIM data type`):
              Parameter value