Comments (3)
Hello,
Or is there an easy way to convert those
neo4j.time.Date
objects into strings in the cypher query itself?
I just did as suggested and it worked. Thank you for your insight!
Part of the Cypher query was rewritten, like this:
actors: [ (a)-[r:ACTED_IN]->(m) | a { .*, born: toString(a.born), died: toString(a.died), role: r.role } ],
As well as for directors.
The webpage displays correctly for me now.
from app-python.
This is probably the easiest suggestion. The more complicated route would be to do this manually in the transaction function write a python function that detects datetime types and calls str()
on them.
from app-python.
It would be nice if the course had fixed queries or official suggestions on how to deal with this kind of transformations. At the moment the code crashes.
from app-python.
Related Issues (13)
- The decode method is not needed in _generate_token() HOT 2
- The final version of the application does not work when using code from the course. HOT 2
- http://localhost:3000 not working HOT 5
- Help, failing on "flask run" HOT 13
- Registering a User Test Issue HOT 7
- Failure on lesson Browsing Genre test and application page not showing any content HOT 1
- Wondering if the UI code is available HOT 2
- Fetching current_user failure and and a possible solution
- cannot Register and show data from neo4j HOT 4
- Stuck at challenge: Unique Email Addresses HOT 5
- Could not connect to any routing servers! HOT 3
- Error: While importing 'api', an ImportError was raised. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from app-python.