-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The response error occurs from time to time when I queried with python api.
To Reproduce
Steps to reproduce the behavior:
- Go to Colab Notebook
- Run:
import datacommons as dc
root = 'https://api.datacommons.org'
query_str = '''
SELECT ?name ?pes_score
WHERE {
?a typeOf HumanProteinOccurrence .
?a proteinExpressionScore ?proteinExpressionScore .
?a name ?name .
?proteinExpressionScore name ?pes_score}LIMIT 2
'''
result = dc.query(query_str)
- See response error in the screenshot sometimes
Expected behavior
It should return the query result as follows:
[{'?name': '4EBP3_HUMAN_Kidney_CellsInTubules',
'?pes_score': 'ProteinExpressionMedium'},
{'?name': '4ET_HUMAN_Breast_Adipocytes',
'?pes_score': 'ProteinExpressionMedium'}]
Screenshots
https://screenshot.googleplex.com/4d9f7313-5432-42d5-a07f-b478e8f134ab
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working