code: def __init__(self, val, val_name="id"):
      if isinstance(val, GraphVertexEdgeID):
          self.union = val
      elif isinstance(val, int):
          if val >= 4294967296:
              self.union = GraphVertexEdgeID(int64_id=val)
          else:
              self.union = GraphVertexEdgeID(int32_id=val)
      elif isinstance(val, list):
          # FIXME: this only check the first item, others could be larger
          if val[0] >= 4294967296:
              self.union = GraphVertexEdgeID(int64_ids=val)
          else:
              self.union = GraphVertexEdgeID(int32_ids=val)
      else:
          raise TypeError(
              f"{val_name} must be one of the "
              "following types: [int, list<int>], got "
              f"{type(val)}"
          )
  
file_path: cugraph/python/cugraph-service/client/cugraph_service_client/types.py
imports: from cugraph_service_client.cugraph_service_thrift import spec
label_desc: Use image node_id 1 to create a new GraphVertexEdgeIDWrapper object from inherited base classes: UnionWrapper with example: obj = GraphVertexEdgeIDWrapper(val, val_name)