code: def test_params():
      def f(x):
          return x + 1
  
      r = spawn(f, args=(1,))
      c = tile(r).chunks[0]
      assert isinstance(c.params, dict)
      c.params = c.get_params_from_data(2)
      assert isinstance(c.params, dict)
  
      params = c.params
      params.pop("index", None)
      r.params = params
      r.refresh_params()
  
imports: from collections import defaultdict
  import numpy
  import pandas
  import pytest
  from ...None import dataframe
  from ...None import get_context
  from ...None import oscar
  from ...None import tensor
  from ...core import tile
  from ...session import get_default_session
  from ...learn.utils import shuffle
  from ...lib.mmh3 import hash
  from ..None import spawn, ExecutableTuple
label_desc: Use image node_id 1 for calling a global function with example usage: test_params() and returns: unknown