Skip to content

Commit

Permalink
Merge pull request #1 from alex-linx/fix-get-triggers-typing
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-linx authored Aug 16, 2023
2 parents 313e95c + 7025c2f commit 0d61876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gqlalchemy/vendors/memgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def create_trigger(self, trigger: MemgraphTrigger) -> None:
query = trigger.to_cypher()
self.execute(query)

def get_triggers(self) -> List[str]:
def get_triggers(self) -> List[MemgraphTrigger]:
"""Returns a list of all database triggers."""
triggers_list = list(self.execute_and_fetch("SHOW TRIGGERS;"))
memgraph_triggers_list = []
Expand Down

0 comments on commit 0d61876

Please sign in to comment.