paperswithcode / paperswithcode-client

API Client for paperswithcode.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HttpClientTimeout(500: Timeout exceeded)

zcyzhuangzhou opened this issue · comments

First, I have created an API token.
Next, I want to query papers by title using this code:
from paperswithcode import PapersWithCodeClient
client = PapersWithCodeClient(token="my_token")
papers = client.paper_list(q=title)

but I got HttpClientTimeout error:

tea_client.errors.HttpClientTimeout: HttpClientTimeout(500: Timeout exceeded)

Is there any way to prevent read timeout, or is it possible to modify the value of timeout?

looks like q parameter does not work for now.
I am having the same issue, can you please check? @alefnula

Fixed, will be released tomorrow as version 0.2.0

Thanks for the quick action!