code: def fmt_class(text: str, cls: str) -> str:
      """Format a string in a certain class (`<span>`).
  
      Args:
        text: The text to format.
        cls: The name of the class.
  
      Returns:
          A `<span>` with a class added.
      """
      return f'<span class="{cls}">{text}</span>'
  
imports: import decimal
  import math
  import re
  from datetime import timedelta
  from typing import Any, Callable, Dict, List, Optional, Union
  import numpy
  import pandas
  from markupsafe import escape
label_desc: Use image node_id 3 for calling a global function with example usage: fmt_class(text, cls) and returns: str, cls, str, text, str