code: def camel_case(key: str) -> str:
      words = key.strip("_").split("_")
      return words[0] + "".join(word.title() for word in words[1:])
  
imports: from __future__ import annotations
  import copy
  import dataclasses
  import importlib
  import json
  import os.path
  from pathlib import Path
  import socket
  from typing import TYPE_CHECKING, get_type_hints
  import typeguard
  import nni.runtime.config
  from .public import is_missing
label_desc: Use image node_id 6 for calling a global function with example usage: camel_case(key) and returns: unknown