graphscope.gremlin

graphscope.gremlin(graph, engine_params=None)[source]

Create a interactive engine and get the handler to execute the gremlin queries.

See params detail in graphscope.Session.gremlin()

Returns

InteractiveQuery to execute gremlin queries, evaluated in eager mode.

Return type

graphscope.interactive.query.InteractiveQueryDAGNode

Examples:

>>> import graphscope
>>> g = graphscope.g()
>>> interactive_query = graphscope.gremlin()