Coder Social home page Coder Social logo

Comments (8)

newgene avatar newgene commented on August 22, 2024

@medmaca This can be a temporary fix for now before we release a new version to resolve this issue:

pip install biothings_client==0.2.2

from biothings_client.py.

dhimmel avatar dhimmel commented on August 22, 2024

Also experiencing this issue (noticed it today).

@newgene can you comment more on the cause of the problem?

release a new version to resolve this issue

Another option might be reverting the change that caused the latest version of biothings-client (v0.2.3) to fail until a version of biothings-client is released without the issue?

from biothings_client.py.

namespacestd0 avatar namespacestd0 commented on August 22, 2024

The server update over the weekend addressed a few reliability issues along with formalizing the additional support for a few request content types. Previously, we did not differentiate the request content type of JSON, form-encoded, or URL parameters, thus having our client sending POST data in string serialized individual fields to represent lists. Now, that type of content needs to be sent via the form data type. Application/JSON body should use lists to represent lists, instead of a comma separated list. The update in our client updated the calling signature to match this change. It has been published now.

from biothings_client.py.

dhimmel avatar dhimmel commented on August 22, 2024

The update in our client updated the calling signature to match this change. It has been published now.

Thanks @namespacestd0 for the info. So this issue is fixed by aa9a9a4 and released in v0.2.4?

from biothings_client.py.

namespacestd0 avatar namespacestd0 commented on August 22, 2024

Yes that's right.

from biothings_client.py.

medmaca avatar medmaca commented on August 22, 2024

Thanks for turning this around so quickly. With v0.2.4 everything appears to working now.

from biothings_client.py.

newgene avatar newgene commented on August 22, 2024

For anyone looks for this issue to resolve this recent biothings_client error, please upgrade your local biothings_client:

pip install biothings_client -U

Thanks @medmaca and @dhimmel for your prompt reporting.

from biothings_client.py.

newgene avatar newgene commented on August 22, 2024

Just fyi, we have released another new version of biothings_client today: v0.2.5, which should handle similar issues which might happen on other query parameters.

from biothings_client.py.

Related Issues (20)

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.