code: def _load_metadata(self, data: Dict[str, Any]) -> Optional[dict]:
      if self.metadata:
          return {
              name: field.load_from(data, name)
              for name, field in self.metadata.items()
          }
  
      return None
  
imports: from typing import Any, Callable, Optional, Union, Type, Dict
  import numpy
  from gluonts.itertools import partition
  from gluonts.pydantic import parse_obj_as, BaseModel
  from ._freq import Freq
  from ._period import Period
  from ._time_frame import time_frame, TimeFrame
  from ._split_frame import split_frame, SplitFrame
label_desc: Use image node_id 3 for calling the Schema obj's underlying member method code with example usage: obj._load_metadata(data) and returns: None, unknown