-
Notifications
You must be signed in to change notification settings - Fork 6
New models #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
New models #18
Conversation
Newmodels
New models and methods
New methods required for the UI
New methods added
Merge of last changes
Two methods migrated from raw cql queries
New methods for roles, organizations and contacts
Method to get all the persons with a determined rolename
Just a simple name change
Expansion of the role model
|
Seemes fine. Not sure about the six inclusion, since I dont really see a point in keeping py2 alive giving 2020 is so close, and all our installations are py3, but I guess it doesn't hurt. |
| MATCH (n:Node {{handle_id: {{handle_id}}}}) | ||
| SET n.{property} = {value} | ||
| RETURN n | ||
| """.format(property=property, value=value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not that it matters a lot (and our code is probably full of these things all over the place), but this is not injection safe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think setting properties ever was injection safe (and I think you are correct that the problem can be found elsewhere to).
This PR adds models for Organizations, Contacts and Roles.