Exemplo n.º 1
0
    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)
Exemplo n.º 2
0
    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)
Exemplo n.º 3
0
    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)
Exemplo n.º 4
0
    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)
Exemplo n.º 5
0
    def get_id(self):
        """
        Returns the element ID.

        :rtype: int or str

        """
        _id = self.data["_id"]

        # OrientDB uses string IDs
        return coerce_id(_id)
Exemplo n.º 6
0
    def get_id(self):
        """
        Returns the element ID.

        :rtype: int or str

        """
        _id = self.data['_id']

        # OrientDB uses string IDs
        return coerce_id(_id)
Exemplo n.º 7
0
    def get_id(self):
        """Returns the element ID."""
        _id = self.data['_id']

        # OrientDB uses string IDs
        return coerce_id(_id)