cuddly-jelly-27016
05/29/2025, 9:35 PMfor loop against, the expected behavior would be different. By then, it would be difficult to detect.
## What changes were proposed in this pull request?
Fix the type annotation from single string to List of strings.
## How was this patch tested?
The unit tests are correct w.r.t to the scope type. The current behavior are the same.
### Setup process
### Screenshots
## Check all the applicable boxes
• I updated the documentation accordingly.
• All new and existing tests passed.
• All commits are signed-off.
## Related PRs
## Docs link
https://bito.ai#summarystart|
### Summary by Bito
This pull request enhances the type safety of the 'poll_token_endpoint' function by updating the 'scopes' parameter type annotation from a single string to a list of strings. This modification aims to prevent runtime errors and improve clarity in future code usage.
flyteorg/flytekitcuddly-jelly-27016
05/29/2025, 10:12 PM