Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit c561b77

Browse files
authored
Update connection.py
1 parent 4cc54fd commit c561b77

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

graphql_api/helpers/connection.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,9 @@ def __init__(
8787
if first and last:
8888
raise ValueError("Cannot provide both 'first' and 'last'")
8989

90-
# Handle 'after' cursor
9190
if after is not None:
9291
self.start_index = int(after) + 1
9392

94-
# Handle 'before' cursor
9593
if before is not None:
9694
self.end_index = min(self.end_index, int(before))
9795

0 commit comments

Comments
 (0)