vesoft-inc / nebula-python

Client API of Nebula Graph in Python
193 stars 78 forks source link

enable scan_edge to retrive reverse edge #131

Open kikimo opened 3 years ago

kikimo commented 3 years ago

GraphStorageClient.scan_edge() lack option to retrieve reverse edge despite the fact that it's supported by the underlying rpc in ScanEdgeRequest.EdgeProp.EdgeType:

    def scan_edge(self,
                  space_name,
                  edge_name,
                  prop_names=[],
                  limit=DEFAULT_LIMIT,
                  start_time=DEFAULT_START_TIME,
                  end_time=DEFAULT_END_TIME,
                  where=None,
                  only_latest_version=False,
                  enable_read_from_follower=True,
                  partial_success=False):