Closed brean closed 5 years ago
Hi,
I think it should be possible to easily delete a Vertex when I have its instance. The API might look like this:
class Foo(Vertex): ... async def remove_all_foo(): session = await app.session() foos = session.traversal(Foo) async for foo in foos: await foo.remove()
looks at least more intuitive then await session.remove_vertex(foo)
await session.remove_vertex(foo)
Hi,
I think it should be possible to easily delete a Vertex when I have its instance. The API might look like this: