code: def __init__(self, rings: List[Ring]):
      assert_list_type(rings, Ring)
      self.rings: List[Ring] = rings
  
imports: from typing import List
  from ..type_assertion import assert_list_type
label_desc: Use image node_id 1 to create a new Polygon object from inherited base classes: GeometryBase with example: obj = Polygon(rings)