plaid / plaid-python

Python bindings for Plaid
https://plaid.com/docs
MIT License
422 stars 147 forks source link

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

Open andrelccorrea-blinctek opened 6 months ago

andrelccorrea-blinctek commented 6 months ago

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.

leohbatista commented 6 months ago

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.

phoenixy1 commented 6 months ago

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.