code: def _clamp(x: float, low: float, high: float) -> float:
      return max(low, min(x, high))
  
imports: import asyncio
  import functools
  import queue
  import threading
  import time
  from typing import TYPE_CHECKING, Callable, Dict, List, Mapping, NamedTuple, Optional, Sequence, Tuple, Union
label_desc: Use image node_id 1 for calling a global function with example usage: _clamp(x, low, high) and returns: max