code: def __arrow_ext_deserialize__(
      cls, storage_type, serialized
  ) -> ArrowIntervalType:
      metadata = json.loads(serialized.decode())
      subtype = pyarrow.type_for_alias(metadata["subtype"])
      closed = metadata["closed"]
      return ArrowIntervalType(subtype, closed)
  
imports: from __future__ import annotations
  import json
  import pyarrow
  from pandas._typing import IntervalClosedType
  from pandas.core.arrays.interval import VALID_CLOSED
label_desc: Use image node_id 5 for calling the ArrowIntervalType obj's underlying member method code with example usage: obj.__arrow_ext_deserialize__(cls, storage_type, serialized) and returns: ArrowIntervalType