You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded my project from mypy-boto3-sqs 1.34.0 to 1.34.101, and noticed a type check error due to a missing type SendMessageBatchRequestEntryQueueTypeDef
After further investigation, it seems that 1.34.0 contains 2 identical TypeDict's: SendMessageBatchRequestEntryTypeDef and SendMessageBatchRequestEntryQueueTypeDef, and later versions contains only the first one.
According to the AWS documentation, the SendMessageBatchRequestEntry type is indeed the correct one, so I just want to confirm if this change was intentional, and it is safe to replace references to SendMessageBatchRequestEntryQueueTypeDef with SendMessageBatchRequestEntryTypeDef.
Thank you!
The text was updated successfully, but these errors were encountered:
Yes, the current behavior is correct, there should only be SendMessageBatchRequestEntryTypeDef. There used to be two of them because I had a logic to create a separate resource-specific TypeDef if it had different members or totality. Unfortunately, there was a bug that did not compare global and resource-specific TypeDefs correctly, so there was an unnecessary duplication.
Please let me know if this logic works for you as expected.
I recently upgraded my project from mypy-boto3-sqs 1.34.0 to 1.34.101, and noticed a type check error due to a missing type
SendMessageBatchRequestEntryQueueTypeDef
After further investigation, it seems that 1.34.0 contains 2 identical TypeDict's:
SendMessageBatchRequestEntryTypeDef
andSendMessageBatchRequestEntryQueueTypeDef
, and later versions contains only the first one.According to the AWS documentation, the SendMessageBatchRequestEntry type is indeed the correct one, so I just want to confirm if this change was intentional, and it is safe to replace references to
SendMessageBatchRequestEntryQueueTypeDef
withSendMessageBatchRequestEntryTypeDef
.Thank you!
The text was updated successfully, but these errors were encountered: