Closed BRDMYuhan closed 5 months ago
The decision to limit the arguments to an enumerator was deliberate because it makes submitting something invalid more unlikely. When accepting strings it would not be immediately obvious what the valid strings are and wether strings are case sensitive or not.
Did you have an issue with wanting to submit something that is not available in the enumerator?
No, actually I have no issue when submitting what is in the enumerator. However, it is not quite easy for beginners to understand what should they put in and makes the scripts less readable. Actually, if accepting strings, we can rely on getattr() to check if the stings are problematic or not.
Thanks for your feedback. We choose the enumerator because an editor like visual studio code should give you auto complete functionality for the enumerations.
Then its pretty much just using auto complete and select the proper value from a combo box. However this would require to import all enums like:
from sentio_prober_control.Sentio.Enumerations import *
Hi MPI developers,
Thanks for developing such exceptional drivers for probers. I would suggest an enhancement that could further improve the usability and accessibility of your drivers. I have developed some code modifications that I believe will make the drivers more intuitive and user-friendly, both for beginners and advanced users alike. Is it something on your schedule or I can open a PR.
for example: