-
Notifications
You must be signed in to change notification settings - Fork 3
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
GA-149 | MultiGraph Support #20
Conversation
failing for now
no new tests yet, just experimenting with `AdjListInnerDict`
still no new tests, just brainstorming
starting to get messy...
Attribute used to establish if all ArangoDB IDs have been retrieved for the particular dict class. Not to be confused with `FETCHED_ALL_DATA`, which fetches both IDs & Documents
minimal suite for now. need to revisit
|
||
def __process_int_edge_key(self, key: int) -> str: | ||
if key < 0: | ||
key = len(self.data) + key |
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.
What about keys that could land in the range before self.data + key? Can keys be set manually? In case yes, we need to make sure that we do not use an existing key by accident.
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.
Good question - this particular strategy is only used for reading Edges that have already been loaded into the local dict object (i.e G[1][2]
). Setting keys as integers is currently not possible, so we should be in the clear here
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.
lgtm, left some minor comments
this will be useful for bulk updates
Just a temporary solution. Will be removed shortly
No description provided.