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

GA-149 | MultiGraph Support #20

Merged
merged 46 commits into from
Aug 13, 2024
Merged

GA-149 | MultiGraph Support #20

merged 46 commits into from
Aug 13, 2024

Conversation

aMahanna
Copy link
Member

@aMahanna aMahanna commented Aug 5, 2024

No description provided.

failing for now
@aMahanna aMahanna marked this pull request as draft August 5, 2024 14:52
@aMahanna aMahanna marked this pull request as ready for review August 12, 2024 01:51

def __process_int_edge_key(self, key: int) -> str:
if key < 0:
key = len(self.data) + key
Copy link
Member

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.

Copy link
Member Author

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

Copy link
Member

@hkernbach hkernbach left a 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

@aMahanna aMahanna changed the title WIP: GA-149 | MultiGraph Support GA-149 | MultiGraph Support Aug 12, 2024
@aMahanna aMahanna merged commit 82f5536 into main Aug 13, 2024
2 checks passed
@aMahanna aMahanna deleted the GA-149 branch August 13, 2024 15:59
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.

2 participants