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
Conversation
3f69f2d
to
f8eb4d7
Compare
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.
looking good so far!
examples/python-functions/main.py
Outdated
inputter1: runtime.executors[1], | ||
aggregator: runtime.executors[2], | ||
outputter: runtime.executors[3], | ||
placement: runtime.executors[placement.name] |
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.
sorry, I think it was better before then, ie without the all_placements
:D
moose/executor/executor_test.py
Outdated
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)) |
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.
this could be rewritten as player: runtime.executors[player.name] for player in players
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.
minor comments otherwise lgtm!
think I've fixed everything, but can we keep the |
No description provided.