def get_inV(self): """ Returns the ID of the edge's incoming vertex (end node). :rtype: int """ _inV = self.data.get("_inV") return coerce_id(_inV)
def get_outV(self): """ Returns the ID of the edge's outgoing vertex (start node). :rtype: int """ _outV = self.data.get("_outV") return coerce_id(_outV)
def get_inV(self): """ Returns the ID of the edge's incoming vertex (end node). :rtype: int """ _inV = self.data.get('_inV') return coerce_id(_inV)
def get_outV(self): """ Returns the ID of the edge's outgoing vertex (start node). :rtype: int """ _outV = self.data.get('_outV') return coerce_id(_outV)
def get_id(self): """ Returns the element ID. :rtype: int or str """ _id = self.data["_id"] # OrientDB uses string IDs return coerce_id(_id)
def get_id(self): """ Returns the element ID. :rtype: int or str """ _id = self.data['_id'] # OrientDB uses string IDs return coerce_id(_id)
def get_id(self): """Returns the element ID.""" _id = self.data['_id'] # OrientDB uses string IDs return coerce_id(_id)