Skip to content
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

Adopt code from py2neo to remove the use of the id function in cypher queries #302

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ianmkenney
Copy link
Collaborator

The unmaintained py2neo package generated queries contain functions that are deprecated. In order to avoid the a torrent of deprecation warnings in the near future and broken functionality on the next major release of neo4j, we are adopting the query generators from within py2neo and modifying them to satisfy our needs in alchemiscale.

In compliance with the Apache v2.0 license, we are providing a copy of the Apache v2.0 license with our distribution and providing a NOTICE containing a log of our modifications.

Code included from py2neo is under the apache 2.0 license and therefore
we need to include a copy of apache 2.0 along with a NOTICE with
information on our changes to the code.
@dotsdl
Copy link
Member

dotsdl commented Sep 17, 2024

Closes #291.

@ianmkenney ianmkenney changed the title DNM adopt code from py2neo WIP adopt code from py2neo to remove the use of the id function in cypher queries Oct 7, 2024
@ianmkenney ianmkenney changed the title WIP adopt code from py2neo to remove the use of the id function in cypher queries Adopt code from py2neo to remove the use of the id function in cypher queries Oct 15, 2024
Our documentation is numpy style. The adopted docstrings have been
modified to be consistent.
@dotsdl dotsdl self-requested a review October 26, 2024 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecation warnings from neo4j: "The query used a deprecated function: id"
2 participants