code: def test_updateParamDuringRun():
      counter = 0
  
      @InteractiveFunction
      def func(a=1, ignored=2):
          nonlocal counter
          counter += a
  
      param = interact(func, ignores=["ignored"])
      func.parametersNeedRunKwargs = True
  
      func(a=3, ignored=4)
      # Ensure "test" was only run once
      assert counter == 3
      assert param["a"] == 3
      assert func.extra["ignored"] == 4
  
      func.parametersNeedRunKwargs = False
      func(a=1)
      assert counter == 4
      assert param["a"] == 3
  
imports: from functools import wraps
  import numpy
  import pyqtgraph
  import pytest
  from pyqtgraph import functions
  from pyqtgraph.parametertree import InteractiveFunction, Interactor, interact, RunOptions
  from pyqtgraph.parametertree import Parameter
  from pyqtgraph.parametertree.Parameter import PARAM_TYPES
  from pyqtgraph.parametertree.parameterTypes import GroupParameter
  from pyqtgraph.Qt import QtGui
label_desc: Use image node_id 10 for calling a global function with example usage: test_updateParamDuringRun() without return types