DRY: replace JSON configuration file by a JSON generator in the python module
Data about script parameters are duplicated :
- once in the json file,
- once in the python module, as
It should be possible to refactorize so that script writers only have to write and maintain only one parameter source.
Remove the JSON file, put all needed information into
__init__ annotations, expose these information programatically for easy access as json from the base class.
*_app.py files, instead of:
We could get:
This would make for an easier script writing for clients, and few developments for dev side. However, support for annotation-based type checking may need supplementary developments.