Skip to content

Erroneous CursorStateError #78

@kristopherdick-clc

Description

@kristopherdick-clc

python-arango==4.2.0

If the collection has fewer documents than the batch size limit, the collection.all() rasies CursorStateError('cursor ID not set').

If the size of the result set is smaller than the batch size the lack of a cursor ID is expected and should, therefore, be ignored and the results returned.

File "/usr/local/lib/python3.6/site-packages/arango/cursor.py", line 292, in close
    raise CursorStateError('cursor ID not set')
arango.exceptions.CursorStateError: cursor ID not set

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions