doccano-client
doccano-client copied to clipboard
Timeout when downloading data
How to reproduce the behaviour
I'm trying to download annotated data from Doccano. I run the following code:
from doccano_client import DoccanoClient
client = DoccanoClient('http://some.url')
client.login(username='username', password='password')
user = client.get_profile()
client.download(4, 'JSONL')
and after some time I get the following error:
TimeoutError: Timeout waiting for task b9030b6d-1959-4de1-bd29-32038422974d
Is there anyway for me to increase the timeout, download parts of the annotated data or get around this timeout error?
Your Environment
- Operating System: Ubuntu 18.04
- Python Version: 3.9.7
- Package Version: 1.2.6