-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use classes for structs in Python (#3232)
Update jsii to 0.14.0 to achieve the following: - Structs are now modeled as regular classes instead of TypedDicts, making their use more straightforward and snake_casing the attribute names. - Fix an issue where passing a variadic function taking structs would ignore its variadicness. - Generate ReST-style docstrings instead of Google-style docstrings for maximum IDE compatibility - Rectify the casing of the "MiB" suffix at the end of ECS constructs (used to be converted to `_mi_b`, now converted to `_mib`). camelCased dicts can still be passed, but instantiating classes with snake_cased constructor arguments is preferred. BREAKING CHANGES: * **Python**: `memory_limit_mi_b` and others are now named `memory_limit_mib`.
- Loading branch information
Showing
8 changed files
with
86 additions
and
68 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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