Task parameters are stored in a form that is convenient for unpacking and passing to the function handler, but they can be tricky to interpret correctly because
the handler's function signature is not very accessible to other code
the parameters can be specified in different ways (named args vs positional args)
These functions do the hard work of correctly applying the parameters to the correct function signature and returning a dictionary that can be easily interpreted.
At the moment, these functions are unused by Koji itself. In the future, I would like to shift to storing task parameters as dictionaries end-to-end (which is why the code uses the term "legacy signatures")
Task parameters are stored in a form that is convenient for unpacking and passing to the function handler, but they can be tricky to interpret correctly because
These functions do the hard work of correctly applying the parameters to the correct function signature and returning a dictionary that can be easily interpreted.
At the moment, these functions are unused by Koji itself. In the future, I would like to shift to storing task parameters as dictionaries end-to-end (which is why the code uses the term "legacy signatures")