Skip to content

Remove _rev concept #39

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

Merged
merged 8 commits into from
Aug 21, 2024
Merged

Remove _rev concept #39

merged 8 commits into from
Aug 21, 2024

Conversation

aMahanna
Copy link
Member

@aMahanna aMahanna commented Aug 20, 2024

Branched off of #37

This PR proposes to remove the concept of _rev from NetworkX Nodes & Edges.

It became a headache to maintain after CRUD operations, especially around the update() methods we're introducing.

The current solution to this is to manually delete the _rev fields whenever possible.

Perhaps we can adjust the phenolrs component as a future improvement to optionally omit _rev from retrieved data to make things easier on memory

@aMahanna aMahanna changed the base branch from main to update-assert August 20, 2024 23:32
@aMahanna aMahanna merged commit 51de668 into update-assert Aug 21, 2024
4 checks passed
@aMahanna aMahanna deleted the remove-rev-concept branch August 21, 2024 17:30
aMahanna added a commit that referenced this pull request Aug 21, 2024
* initial commit

* attempt: try to cache the update data

* cleanup

* update assertions

* new: _rev assertions, `newDict` assertions

this is currently failing on the `_rev` assertions for digraph & graph

* Remove `_rev` concept (#39)

* initial commit | remove `_rev` logic

* remove: `root` concept

* cleanup: `del "_rev"`

* fix: lint

* cleanup test

* fix: return clause
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.

1 participant