Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Clean up environment access in plugins #6941
Clean up environment access in plugins #6941
Changes from 27 commits
c87cf9a
903e673
bdf4eaa
f9478c8
a2f67bd
64c8c36
bb2acdc
03fe590
d4060e2
1ac0a69
ab00577
7a7f4ac
8d33db9
3fa1264
22b1ebf
cd7327a
405734f
39f2961
ca64092
b17a6b7
06fec87
c2744e6
93a0538
ee3f7f8
ca6ee97
90f1d37
391624d
77af73d
5764ef5
d6b2f7c
15324de
0048ae5
d9310a5
1c64dfa
5992563
d968744
c99043d
11c00da
1b57674
50638f8
de8454a
4e4afcd
be33371
eb143a7
e892e57
d8d9e8b
7897e41
b2b705b
8d3dbcf
1a7af2e
d809f2d
1bb6e9d
9161f4f
354c901
2218fac
7005b4e
5bbfe17
a6d0f5d
c3b9db4
246384d
dae1d73
01eb6de
45e9f78
9490ce9
a0a53b7
7d39a92
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Shouldn't this be
pass
too?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.
it doesn't make a difference. pass is only required when we have nothing under the function. here the docstring is already enough :)
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.
Do we need set_world_size. Can you just use a setter and make everything properties ?
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.
Yes but this interface is old and all getters are methods from the beginning.
It would be better to have proper setters and getters. I decided not to keep backward compatibility and make the interface consistent. I propose to do a deprecation in a follow up to keep this PR managable
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.
remove this?
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 WORLD_SIZE ?