code: def wrap_in_onload(code: str) -> str:
      """ """
      return _ONLOAD % dict(code=indent(code, 4))
  
imports: from __future__ import annotations
  import logging
  from ..core.templates import SCRIPT_TAG
  from ..util.strings import indent
label_desc: Use image node_id 1 for calling a global function with example usage: wrap_in_onload(code) and returns: unknown