我正在尝试使用名为goblin的最新 OGM 。我阅读了示例,基本上我只想执行一个简单的查询: MyVertex.all() 应该返回“myvertex”类型的所有顶点,但我得到了
No such property: V for class: org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource
这是我正在做的事情:
import asyncio
from tornado.platform.asyncio import AsyncIOMainLoop
from goblin import properties, connection
from goblin.models import Vertex
@asyncio.coroutine
def find():
result = yield from MyVertex.all()
stream = yield from result.read()
return stream
find()