class_docstr: Runtime config, passed by contextvars
class_docstr_tok: ["Runtime","config",",","passed","by","contextvars"]
code: def from_node_config(node_conf: "NodeConfig"):
      sys_conf = SysConf(node_conf.device)
      return RuntimeConf(sys_conf, node_conf.acc_info)
  
file_path: towhee/towhee/runtime/runtime_conf.py
imports: import contextvars
  import contextlib
  import functools
label_desc: Use image node_id 4 for calling the RuntimeConf obj's underlying member method code with example usage: obj.from_node_config(node_conf) and returns: RuntimeConf