Skip to content

Commit

Permalink
flake8 + black
Browse files Browse the repository at this point in the history
  • Loading branch information
katarinasupe committed Jun 24, 2024
1 parent e00ea76 commit 5cda32a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gqlalchemy/vendors/memgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ class MemgraphTerminatedTransaction:
def __init__(self, transaction_id: str, killed: bool):
self.transaction_id = transaction_id
self.killed = killed

def __repr__(self):
return f"MemgraphTerminatedTransaction(transaction_id={self.transaction_id}, killed={self.killed})"


class MemgraphConstants:
CONSTRAINT_TYPE = "constraint type"
EXISTS = "exists"
Expand Down
1 change: 0 additions & 1 deletion tests/ogm/test_transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ def test_get_transactions(memgraph):
assert result[0].transaction_id != ""
assert result[0].query == ["SHOW TRANSACTIONS;"]
assert result[0].metadata == {}

0 comments on commit 5cda32a

Please sign in to comment.