Response dictionary can be accumulated to a Single Output Class
Kaushl2208 opened this issue · 3 comments
Kaushl2208 commented
Currently the output/response is being provided in the form of separate dictionaries. A dedicated class can be written to make it more modular and efficient.
Ref: Dict_perma
GMishx commented
I would like to rephrase the requirement. We have dedicated classes in nirjas/output
but even while calling nirjas as library, it returns a JSON which needs to be parsed back into Python types.
Instead, if the translation of object to JSON can be done only for CLI calls and not for library/function calls, it will be great.
GMishx commented
@Kaushl2208 , with #47, we now have the result as Python dictionary. Do we still need a dedicated class for it or can we close the issue?
Kaushl2208 commented