Fix SQS CreateQueue type error by casting attributes to string#65649
Merged
shahar1 merged 2 commits intoapache:mainfrom Apr 22, 2026
Merged
Fix SQS CreateQueue type error by casting attributes to string#65649shahar1 merged 2 commits intoapache:mainfrom
shahar1 merged 2 commits intoapache:mainfrom
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
2 tasks
vincbeck
approved these changes
Apr 22, 2026
Contributor
|
Static checks are failing |
9a30dc4 to
cc56b5a
Compare
Contributor
|
Rebasing, hopefully it should be ok now |
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
59 tasks
Contributor
Author
Thanks for the hand! I was just working on fixing those static check failures locally. Appreciate the support and for getting this across the finish line! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When creating an SQS queue, AWS requires all attribute values to be strings. Currently, if a user passes an integer (e.g., VisibilityTimeout=30), it causes a
botocore.exceptions.ParamValidationErroror InvalidAttributeValue error in real AWS environments.This PR ensures all attribute values are cast to strings before being passed to the boto3 client.
Related Issue:
closes: #65592
Tests performed:
Verified with a reproduction script in Breeze (Python 3.13) that integer values no longer trigger validation errors.
Was generative AI tooling used to co-author this PR?
Generated-by: Gemini following the guidelines
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.