code: def test_funcname():
      assert funcname(np.floor_divide) == "floor_divide"
      assert funcname(partial(bool)) == "bool"
      assert (
          funcname(operator.methodcaller("__getitem__"))
          == "operator.methodcaller('__getitem__')"
      )
      assert funcname(lambda x: x) == "lambda"
  
file_path: lightning-flash/tests/core/serve/test_dag/test_utils.py
imports: import operator
  from functools import partial
  import numpy
  import pytest
  from flash.core.serve.dag.utils import funcname, partial_by_order
  from flash.core.utilities.imports import _CYTOOLZ_AVAILABLE, _TOPIC_SERVE_AVAILABLE
label_desc: Use image node_id 4 for calling a global function with example usage: test_funcname() without return types