typing: update Events and STS typing#13862
Conversation
Test Results - Alternative Providers407 tests 274 ✅ 3m 21s ⏱️ Results for commit e45f2f0. |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 3m 14s ⏱️ Results for commit e45f2f0. |
LocalStack Community integration with Pro 2 files ± 0 2 suites ±0 1h 35m 25s ⏱️ - 31m 4s Results for commit e45f2f0. ± Comparison against base commit 372c575. This pull request removes 1632 tests. |
pinzon
left a comment
There was a problem hiding this comment.
Approving since the changes are not critical for the STS service, but it's somewhat disappointing that Avro is going to limit our usage of type hinting.
|
I agree, but I'd also say that having a field being But yeah, with this change it's also pretty bad because we have no idea of what's in it 😭 here is a blind fix because I need it, but if you think you can update usages, could be nice too 😅 |
Motivation
When working on the new serialization framework, some type hints were not supported. Unions of mutable types like sequences (list, set) and other types are not supported.
For such basic types, it is easier to make them as
dict[str, Any], even if it makes less readable/usable, the framework can handle that. Sorry!Changes
Tests
Related