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

fix: Removed Py2neo-related code #95

Merged

Conversation

yunchae-kim
Copy link
Contributor

@yunchae-kim yunchae-kim commented Oct 10, 2023

[#93] Refer to GitHub issue...

This commit removed all code references to the Py2neo package, which were previously removed from the project's dependencies. The changes included:

  • Deleted Python code that imported and referenced Py2neo.
  • Commented out references to the Graph class in graph/graph.py as it was based on Py2neo. The decision to comment out instead of deleting was made for future reference purposes.
  • Commented out Neo4jData class in graph/io.py.
  • Autoformatted several Python files that hadn't been previously styled according to the project's style guide.
  • Removed the Py2neo package from environment.yml.

The current commit successfully passed the Pytest after modification.

[#93] Refer to GitHub issue...

This commit removed all code references to the Py2neo package, which
were previously removed from the project's dependencies. The changes
included:

- Deleted Python code that imported and referenced Py2neo.
- Commented out references to the `Graph` class in `graph/graph.py` as
it was based on Py2neo. The decision to comment out instead of deleting
was made for future reference purposes.
- Autoformatted several Python files that hadn't been previously styled
according to the project's style guide.
- Removed the Py2neo package from `environment.yml`.

The current commit successfully passed the Pytest after modification.
@yunchae-kim yunchae-kim added the minor Easy to fix issue that can be completed in a limited amount of time, similar to "easy fix" label Oct 10, 2023
@yunchae-kim yunchae-kim self-assigned this Oct 10, 2023
@yunchae-kim yunchae-kim linked an issue Oct 10, 2023 that may be closed by this pull request
@yunchae-kim yunchae-kim merged commit 58cb4be into master Oct 10, 2023
@yunchae-kim yunchae-kim deleted the fix/issue-93/remove-all-code-references-to-py2neo branch October 10, 2023 20:17
yunchae-kim added a commit that referenced this pull request Oct 24, 2023
[#108] Refer to GitHub issue...

Changes implemented:

- Reverted changes from PR-#95 to address the "class `Graph` not
defined"
error.
- Removed all Py2neo package imports.
- Commented out code related to Py2neo, especially the `Neo4jData()`
class in `io.py`.
- In `graph.py`, replaced usages of `Neo4jData()` within the `Graph`
class
with a `NotImplementedError`.
- Updated comments and docstrings to match these changes.
- Autoformatted edited files to match the project's style guide.

- Verified the changes: All Pytest checks passed successfully and no
errors were encountered when building Sphinx docs using `make html`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Easy to fix issue that can be completed in a limited amount of time, similar to "easy fix"
Development

Successfully merging this pull request may close these issues.

Remove all code references to Py2neo
1 participant