code: def __init__(self, x: float, y: float) -> None:
      self.x = x
      self.y = y
  
      assert type(self.x) == float
      assert type(self.y) == float
  
file_path: gluonts/test/core/test_component.py
imports: import random
  from typing import Dict, List
  from gluonts.core.component import validated
  from gluonts.core.serde import dump_json, load_json
label_desc: Use image node_id 1 to create a new Complex object  with example: obj = Complex(x, y)