Skip to content

Slicing LazyPostgrestJsonResult with [:0] or [:1] returns wrong result

Slicing with 0 < key.stop < 2 is currently broken and returns "all objects - key.start". This is an edge case due to translation of exclusive ranges (python) to inclusive ranges (PostgREST).

Add a test while at it.

Edited by Fynn Becker