code: def __getitem__(self, index: int):
      return (
          self.source_node_type,
          self.relation_type,
          self.target_node_type,
      )[index]
  
file_path: AutoGL/autogl/data/graph/_general_static_graph/_canonical_edge_type.py
imports: import typing
label_desc: Use image node_id 6 for calling the CanonicalEdgeType obj's underlying member method code with example usage: obj.__getitem__(index) and returns: self,  self,  self