Skip to content

Commit d6dc7b2

Browse files
committed
fix(github): Add type annotation for cursor_result
1 parent 8d8aa7e commit d6dc7b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/integrations/api/endpoints/organization_integration_repos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def get(
128128
)
129129

130130
if paginated is not None and (has_next or offset > 0):
131-
cursor_result = CursorResult(
131+
cursor_result: CursorResult[IntegrationRepository] = CursorResult(
132132
results=[],
133133
prev=Cursor(0, max(0, offset - per_page), True, offset > 0),
134134
next=Cursor(0, offset + per_page, False, has_next),

0 commit comments

Comments
 (0)