code: def _make_elem(
      tag: str, *children: Element, **attrs
  ) -> StaticDOMElement:
      """Helper function for making DOM elements."""
      return StaticDOMElement(tag, list(children), attrs)
  
imports: from __future__ import annotations
  import abc
  import dataclasses
  import functools
  import sys
  import uuid
  from typing import Any, Union
label_desc: Use image node_id 3 for calling a global function with example usage: _make_elem(tag) and returns: StaticDOMElement