Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Enable batch queries over lists of entities #139

Open
andrewsu opened this issue Dec 10, 2020 · 1 comment
Open

Enable batch queries over lists of entities #139

andrewsu opened this issue Dec 10, 2020 · 1 comment
Labels
Milestone

Comments

@andrewsu
Copy link
Member

BTE currently accepts queries with uniquely defined query nodes or node types. Here, we will extend BTE to accept lists of query entity IDs for execution in batch mode. (This feature currently exists in the BTE TRAPI interface / nodejs implementation, but not in the python client.)

@GitHubbit
Copy link

Is it possible to have an example of how to submit batch queries in the documentation somewhere?

For example:

ht = Hint()
disease_list = ["adhd", "Alzheimer's", "Parkinsons", "IBD"]
ht.query(disease_list)

...does not work bc the query function does not take lists, only strings...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants