-
Notifications
You must be signed in to change notification settings - Fork 39
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
refactor: Container launcher argument refactoring #2820
Conversation
@hpohekar This approach is not only being used for the container launcher, that was just one example: pyfluent/src/ansys/fluent/core/launcher/container_launcher.py Lines 156 to 158 in 9916a8f
It is also being used in: pyfluent/src/ansys/fluent/core/launcher/pim_launcher.py Lines 144 to 146 in 9916a8f
pyfluent/src/ansys/fluent/core/launcher/standalone_launcher.py Lines 187 to 189 in 9916a8f
|
@raph-luc I think use of |
In my understanding, the issue isn't which one is more readable on its own, the issue is that we are using both interchangeably and that makes things unnecessarily complicated (have to keep track of both when debugging issues). I'd say pick one (either |
Yes, therefore we had followed the existing pattern by using |
What do you mean? In the code excerpts that I quoted above (see #2820 (comment)) we have both |
We don't have
|
If
? Do you see where I am going? We do have |
We are using
How can we use |
Do you mean we are setting
|
Closed due to failing of branch name style check. New PR - #2822 |
closes #2818
Updated
self.<argument_name>
toself.argvals['<argument_name>']
.