code: def set_runtime_config(node_conf: "NodeConfig"):
      runtime_conf = RuntimeConf.from_node_config(node_conf)
      token = _RUNTIME_CONF_VAR.set(runtime_conf)
      yield
      _RUNTIME_CONF_VAR.reset(token)
  
file_path: towhee/towhee/runtime/runtime_conf.py
imports: import contextvars
  import contextlib
  import functools
label_desc: Use image node_id 1 for calling a global function with example usage: set_runtime_config(node_conf) without return types