doccano / doccano/doccano-client

Timeout when downloading data

Open
#140 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
86
Forks
67
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.