python - loading titan graph database with mogwai -


im trying start learning gremlin communicate titan db 0.5.4, , since im gonna use mogwai execute the gremlin queries later, thought better learn both of them side side. stuck @ first step. couldn't know how load graph of gods.

gremlin query:

gremlin> graph = titanfactory.open('titan-berkeleydb-es.properties')

while im reading mogwai docs found class:

class mogwai.gremlin.base.gremlinmethod(path=none, method_name=none, classmethod=false, property=false, defaults=none, transaction=true, imports=none)

gremlin method returns graph element

configure_method(klass, attr_name, gremlin_path) sets methods internals

im not sure if right approach, , if its, im not sure how pass parameters .

take @ quickstart: http://mogwai.readthedocs.org/en/latest/quickstart.html


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -