code: def get_metadata_type(handlers: List[Field]) -> np.dtype:
      return np.dtype(
          [("", handler.metadata_type) for handler in handlers],
          align=True,
      )
  
imports: from typing import List
  import numpy
  from .fields.base import Field
  from .fields import FloatField, IntField, RGBImageField, BytesField, NDArrayField, JSONField, TorchTensorField
label_desc: Use image node_id 2 for calling a global function with example usage: get_metadata_type(handlers) and returns: np