plaid-python icon indicating copy to clipboard operation
plaid-python copied to clipboard

[Feature request] Add an option to allow data to be returned in the primitive format instead of forcing the new object format

Open andrelccorrea-blinctek opened this issue 1 year ago • 2 comments

The new data format returned by the lib is not always ideal, making 2 costly conversions necessary, one done by the lib itself and another, turning the data into primitive formats again. If there was an option that could be passed at lib initialization and allowed to choose between the old and new format, it would be a great help.

andrelccorrea-blinctek avatar Mar 04 '24 21:03 andrelccorrea-blinctek

The abstraction is good in theory, but since the main purpose of this module is to make API calls to Plaid, this is more an overhead than an improvement. Please allow returning directly as a dict, even as not by default.

leohbatista avatar Mar 04 '24 21:03 leohbatista

Thanks for the feedback! Unfortunately this is something we're not likely to add, as it doesn't appear to be supported by the version of OpenAPI generator we use for python. If and when we next upgrade our version of the python openapi generator, we will take this feedback into account.

phoenixy1 avatar Mar 04 '24 23:03 phoenixy1