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

fixing placement names for local testing and remote execution. #55

Merged
merged 5 commits into from Oct 2, 2020

Conversation

rdragos
Copy link
Contributor

@rdragos rdragos commented Oct 1, 2020

No description provided.

@mortendahl mortendahl mentioned this pull request Oct 2, 2020
Copy link
Member

@mortendahl mortendahl left a comment

Choose a reason for hiding this comment

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

looking good so far!

moose/runtime.py Show resolved Hide resolved
examples/python-functions/main.py Outdated Show resolved Hide resolved
examples/python-functions/main.py Show resolved Hide resolved
examples/python-functions/Makefile Show resolved Hide resolved
inputter1: runtime.executors[1],
aggregator: runtime.executors[2],
outputter: runtime.executors[3],
placement: runtime.executors[placement.name]
Copy link
Member

Choose a reason for hiding this comment

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

sorry, I think it was better before then, ie without the all_placements :D

placement_assignment = {
players[i]: runtime.executors[i] for i in range(len(players))
players[i]: runtime.executors[players[i].name] for i in range(len(players))
Copy link
Member

Choose a reason for hiding this comment

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

this could be rewritten as player: runtime.executors[player.name] for player in players

Copy link
Member

@mortendahl mortendahl left a comment

Choose a reason for hiding this comment

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

minor comments otherwise lgtm!

@rdragos
Copy link
Contributor Author

rdragos commented Oct 2, 2020

think I've fixed everything, but can we keep the make test-localhost? this way I don't need to run docker-compose and then launch the main process.

@rdragos rdragos merged commit 0abc688 into prototype Oct 2, 2020
@rdragos rdragos deleted the docker-fixes branch October 2, 2020 14:46
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.

None yet

2 participants