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

Graph debugger #97

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Graph debugger #97

wants to merge 15 commits into from

Conversation

pridawn
Copy link
Collaborator

@pridawn pridawn commented Feb 20, 2019

Hey,

Did the suggested changes-Created a graph actor class which queues up the requests to the version graph class. Made some changes to the full state version manager class so that the version manager keeps track of the version graph head itself.

The word counter application doesn't work i.e. doesn't display any counts after these changes. Looking into it. Created the request just for review.

Pritha

for delta in self.version_graph[version:]:
merged = utils.merge_state_delta(merged, delta)
return merged, [version, self.version_graph.head.current]
if not merged:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to make the equivalent check in Graph class in getitem to return an empty list if the start version does not exist.

@@ -0,0 +1,96 @@
#!/usr/bin/env python3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this file to SampleApps folder.

super().__init__()
self.manager = Manager()
self.result_manager = Manager()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One manager should work. Why so many managers?

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