コード例 #1
0
ファイル: client.py プロジェクト: jeromecornet/bulbs
    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)
コード例 #2
0
ファイル: client.py プロジェクト: jeromecornet/bulbs
    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)
コード例 #3
0
ファイル: client.py プロジェクト: matthewwu/PythonRepo
    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)
コード例 #4
0
ファイル: client.py プロジェクト: matthewwu/PythonRepo
    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)
コード例 #5
0
ファイル: client.py プロジェクト: jeromecornet/bulbs
    def get_id(self):
        """
        Returns the element ID.

        :rtype: int or str

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

        # OrientDB uses string IDs
        return coerce_id(_id)
コード例 #6
0
ファイル: client.py プロジェクト: matthewwu/PythonRepo
    def get_id(self):
        """
        Returns the element ID.

        :rtype: int or str

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

        # OrientDB uses string IDs
        return coerce_id(_id)
コード例 #7
0
ファイル: client.py プロジェクト: nicholsn/bulbs
    def get_id(self):
        """Returns the element ID."""
        _id = self.data['_id']

        # OrientDB uses string IDs
        return coerce_id(_id)