nedlowe / gremlin-python-example Goto Github PK
View Code? Open in Web Editor NEWAn example project for gremlin_python, as there is very little public code out there using it.
An example project for gremlin_python, as there is very little public code out there using it.
Add node and Add properties are different statement. What hapens when the property fails to execute?
Node is added without property.
Hi, users are unable to run gremlin-python-example due to dependency conflict with tornado package.
As shown in the following full dependency graph of gremlin-python-example, gremlin-python-example requires tornado,while gremlinpython requires tornado>=4.4.1,<5.0.
According to pip’s “first found wins” installation strategy, tornado==6.0.3 is the actually installed version. However, tornado==6.0.3 does not satisfy tornado>=4.4.1,<5.0.
gremlin-python-example-master
| +-gremlinpython(version range:*)
| | +-aenum(version range:>=1.4.5)
| | +-isodate(version range:>=0.6.0)
| | | +-six(version range:*)
| | +-six(version range:>=1.10.0)
| | +-tornado(version range:>=4.4.1,<5.0)
| +-tornado(version range:*)
Thanks for your help.
Best,
Neolith
Hello, I am very happy that you can open the code. I have a problem now. Now every time I make a query, you have to establish a connection here. Why didn't you release the connection after establishing the connection?
I have followed everything you did in your app.py and I am using chalice too. But somehow, when I try to run my lambda functions, I get this error. I am trying to connect to a Neptune db instance and check if I can create my first vertex.
Traceback (most recent call last): File "/var/task/chalice/app.py", line 1104, in _get_view_function_response response = view_function(**function_args) File "/var/task/app.py", line 40, in getPosts raise e File "/var/task/app.py", line 33, in getPosts g.addV("user").property(T.id, 1).next() File "/var/task/gremlin_python/process/traversal.py", line 89, in next return self.__next__() File "/var/task/gremlin_python/process/traversal.py", line 48, in __next__ self.traversal_strategies.apply_strategies(self) File "/var/task/gremlin_python/process/traversal.py", line 573, in apply_strategies traversal_strategy.apply(traversal) File "/var/task/gremlin_python/driver/remote_connection.py", line 149, in apply remote_traversal = self.remote_connection.submit(traversal.bytecode) File "/var/task/gremlin_python/driver/driver_remote_connection.py", line 55, in submit result_set = self._client.submit(bytecode) File "/var/task/gremlin_python/driver/client.py", line 111, in submit return self.submitAsync(message, bindings=bindings).result() File "/var/task/gremlin_python/driver/client.py", line 127, in submitAsync return conn.write(message) File "/var/task/gremlin_python/driver/connection.py", line 55, in write self.connect() File "/var/task/gremlin_python/driver/connection.py", line 45, in connect self._transport.connect(self._url, self._headers) File "/var/task/gremlin_python/driver/tornado/transport.py", line 36, in connect lambda: websocket.websocket_connect(url)) File "/var/task/tornado/ioloop.py", line 576, in run_sync return future_cell[0].result() tornado.simple_httpclient.HTTPStreamClosedError: Stream closed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.