code: def deserialize(
      classname: str, version: int, data: object
  ) -> decimal.Decimal:
      from decimal import Decimal
  
      if version > __version__:
          raise TypeError(
              f"serialized {version} of {classname} > {__version__}"
          )
  
      if classname != qualname(Decimal):
          raise TypeError(f"{classname} != {qualname(Decimal)}")
  
      return Decimal(str(data))
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING
  from airflow.utils.module_loading import qualname
label_desc: Use image node_id 2 for calling a global function with example usage: deserialize(classname, version, data) and returns: Decimal