GithubHelp home page GithubHelp logo

Comments (4)

stanislavgoncharick avatar stanislavgoncharick commented on August 26, 2024

Seems like we faced the same issue. But in get method, not in post like above.
As far as I understand, problem is in this place

body = kwargs if body is None else body

for post' and in the same for get`:
params = kwargs if params is None else params

In case, params are passed not as named argument params then session.get() get them as params and then one more time as kwargs, what is not expected.

I see this as a fastest solution: params, kwargs = (kwargs, {}) if params is None else (params, kwargs) for get and body, kwargs = (kwargs, {}) if body is None else (body, kwargs) for post.

@diogovk Not sure if it's still necessary but you can cover your params: document = self.app_token.post('%s/documents' % customer_url, params=dict(file=fd_file, documentType=document_type)), it may help.

from dwolla-v2-python.

sausman avatar sausman commented on August 26, 2024

Thanks for the details everyone. Sorry you ran into this. It looks like this bug was introduced as part of v1.4.0. In the meantime, I would recommend using v1.3.0.

We should have a fix out later today or tomorrow.

from dwolla-v2-python.

YPCrumble avatar YPCrumble commented on August 26, 2024

@sausman any update on this issue? We're still pinned to 1.3.0 currently.

from dwolla-v2-python.

sausman avatar sausman commented on August 26, 2024

@YPCrumble Woops, forgot to close this along with v1.6.0. Anything >= 1.6.0 should have this fixed!

from dwolla-v2-python.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.