code: def _load(self, value):
      return parse_obj_as(self.type, value)
  
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 1 for calling the Metadata obj's underlying member method code with example usage: obj._load(value) and returns: parse_obj_as