Skip to content

Timeout when downloading data #140

Description

@bennigeir

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions