I am in the same team with the questioner. And I had a problem with the pydgraph.
I raise an issue in github. Same with the following context.
I want to get the commit_ts by using pydgraph. However, the function ‘commit()’ doesn’t return the commit_ts. By modifying line 238 in txn.py, I return the result of the function ‘self._dc.commit_or_abort’.
return self._dc.commit_or_abort(self._ctx, timeout=timeout,
metadata=new_metadata,
credentials=credentials)
Like this, I could get the commit_ts from the function ‘commit()’ .
The result is following:
start_ts: 260380200
commit_ts: 260380201