Source code for aiogremlin.process.traversal

import asyncio

from gremlin_python.process import traversal


[docs]class AsyncTraversalStrategies(traversal.TraversalStrategies):
[docs] async def apply_strategies(self, traversal): for traversal_strategy in self.traversal_strategies: func = traversal_strategy.apply(traversal) if asyncio.iscoroutine(func): await func