I am using this api .. whose function call is as follows:
g.vertices.index.lookup(identifier="value")
Now note that idenitifier is a variable that I have not defined, but api is allowed, and the value is a string.
Something similar happens in the pymongo api:
http://api.mongodb.org/python/current/tutorial.html
db = client.test_database
equally
db = client["test_database"]
test_database in the first case, although the user did not define this variable .. but it is understood by mongo that in my data warehouse I have a database called test_database or not.
Now I have a problem: I have a colon in my data warehouse.
In other words, it is:
g.vertices.index.lookup(bad:identifier="value")
See .. the colon in the query ..
And this api does not have such a version of a dictionary like mongo.
, , , . , .
- ,
g.vertices.index.lookup(bad:identifier="value")
^
SyntaxError: invalid syntax