summaryrefslogtreecommitdiff
path: root/redis/commands/graph/edge.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/commands/graph/edge.py')
-rw-r--r--redis/commands/graph/edge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/redis/commands/graph/edge.py b/redis/commands/graph/edge.py
index b334293..b0141d9 100644
--- a/redis/commands/graph/edge.py
+++ b/redis/commands/graph/edge.py
@@ -22,7 +22,7 @@ class Edge:
self.src_node = src_node
self.dest_node = dest_node
- def toString(self):
+ def to_string(self):
res = ""
if self.properties:
props = ",".join(