Conditions | 2 |
Total Lines | 5 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | from aiogremlin.process import graph_traversal |
||
14 | def traversal(self, traversal_source_class=None): |
||
15 | if not traversal_source_class: |
||
16 | traversal_source_class = graph_traversal.AsyncGraphTraversalSource |
||
17 | return traversal_source_class( |
||
18 | self, AsyncTraversalStrategies.global_cache[self.__class__]) |
||
19 |