From bdb692ad620d8ebeddf1c9463449e744afa5667f Mon Sep 17 00:00:00 2001 From: davebshow <davebshow@gmail.com> Date: Thu, 8 Jun 2017 15:31:37 -0400 Subject: [PATCH] removed deprecated async iterator syntax --- aiogremlin/process/graph_traversal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogremlin/process/graph_traversal.py b/aiogremlin/process/graph_traversal.py index c02a76b..e803102 100644 --- a/aiogremlin/process/graph_traversal.py +++ b/aiogremlin/process/graph_traversal.py @@ -8,7 +8,7 @@ from gremlin_python.process import graph_traversal, traversal class AsyncGraphTraversal(graph_traversal.GraphTraversal): """Implements async iteration protocol and updates relevant methods""" - async def __aiter__(self): + def __aiter__(self): return self async def __anext__(self): -- GitLab