Closed orasimus closed 3 years ago
Sure. There's https://github.com/valohai/argparse-to-valohai-yaml already; I suppose we should also have the inverse.
It'd probably be a good idea to integrate this in valohai_yaml.
just food for thought that the fundamental problem is that we don't know if the customer is running Python, C++ or something else, which is the reason it's not integrated to begin with
but yeah, these helper features are nice to have
This will be addressed by https://github.com/valohai/valohai-utils.
Currently when using Execution parameters, you need to define them in the valohai.yaml and then for example using @click or ArgumentParser in Python. This is basically duplicating the same information.
If this could be defined only once, it would improve the user experience and also remove possible errors caused by mismatching parameter handling.
This is based on feedback from Ari (Skillup).