Skip to content

Conversation

@zhaoqizqwang
Copy link
Contributor

Description

next_token from API response is empty string, not None. The condition in StopIteration is incorrect

Testing Done

Test the fix locally and infinite loop is fixed.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

**Description**

next_token from API response is empty string, not None. The condition in StopIteration is incorrect

**Testing Done**

Test the fix locally and infinite loop is fixed.
@zhaoqizqwang zhaoqizqwang requested a review from a team as a code owner May 29, 2025 20:38
@zhaoqizqwang zhaoqizqwang requested a review from rsareddy0329 May 29, 2025 20:38
@pintaoz-aws pintaoz-aws merged commit 4c70b7c into aws:main May 29, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants