Comments (8)
@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.
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.
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.
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.
Yes that's right.
from biothings_client.py.
Thanks for turning this around so quickly. With v0.2.4 everything appears to working now.
from biothings_client.py.
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.
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)
- mygeneinfo finds a gene using `query` but not using `querymany' HOT 1
- No need to delay when requests were made from cache HOT 2
- MyGene client: .query with fields=list returns incomplete results HOT 3
- Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated HOT 1
- Specifying the fetch_all block size? HOT 2
- Use standard logging stream HOT 2
- fields parameter not working as intended HOT 6
- End positions of 'delins' variations
- update tests using drugbank ids HOT 1
- Outdated clinvar? HOT 3
- Add geneset as a supported built-in client type HOT 1
- Handle more gracefully when the biothing_type value from metadata endpoint is a list HOT 1
- Faster implementation of `list_itemcnt` in `base.py` HOT 1
- Support query by CURIE IDs
- get_client('chem') not working HOT 3
- Use doc_type key in metadata to generate client without having to specific biothings_type HOT 5
- Need a better user agent pattern for biothings_client.py HOT 4
- query terms split on space when passed to querymany as a list. HOT 1
- Not return DataFrame when both "fetch_all" and "as_dataframe" are set to be True HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biothings_client.py.