Skip to content

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
@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