code: def deserialize(classname: str, version: int, data: dict):
      from pyiceberg.catalog import load_catalog
      from pyiceberg.table import Table
  
      from airflow.models.crypto import get_fernet
  
      if version > __version__:
          raise TypeError(
              "serialized version is newer than class version"
          )
  
      if classname == qualname(Table):
          fernet = get_fernet()
          properties = {}
          for k, v in data["catalog_properties"].items():
              properties[k] = fernet.decrypt(v.encode("utf-8")).decode(
                  "utf-8"
              )
  
          catalog = load_catalog(data["identifier"][0], **properties)
          return catalog.load_table(
              (data["identifier"][1], data["identifier"][2])
          )
  
      raise TypeError(f"do not know how to deserialize {classname}")
  
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: catalog