Skip to content

Commit

Permalink
Rewrite xtdb-cli.py with "click" (#2957)
Browse files Browse the repository at this point in the history
Co-authored-by: Ammar <[email protected]>
Co-authored-by: Jan Klopper <[email protected]>
  • Loading branch information
3 people authored May 30, 2024
1 parent 8b35726 commit 4375b6a
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 212 deletions.
2 changes: 1 addition & 1 deletion octopoes/octopoes/xtdb/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def delete_node(self) -> None:

raise XTDBException("Could not delete node") from e

def export_transactions(self) -> Any:
def export_transactions(self):
res = self._session.get(f"{self.client_url()}/tx-log?with-ops?=true", headers={"Accept": "application/json"})
self._verify_response(res)
return res.json()
Expand Down
Loading

0 comments on commit 4375b6a

Please sign in to comment.