doccano-client icon indicating copy to clipboard operation
doccano-client copied to clipboard

Timeout when downloading data

Open bennigeir opened this issue 2 years ago • 2 comments

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

bennigeir avatar Jan 05 '23 09:01 bennigeir