-
- Downloads
Refactor: Attribute.class used instead of helper methods in PythonSer… (#1475)
* Refactor: Attribute.class used instead of helper methods in PythonServerAttributeUtils Helper methods in PythonServerAttributeUtils have been deprecated in favor of using Attribute.class directly Co-authored-by:Matteo Bigoi <1781140+crisidev@users.noreply.github.com> * Smithy Python: PyException removed from enum Smithy enums do not have ErrorTrait so there is no need to check and generate code for pyo3::exceptions::PyException Co-authored-by:
Fahad Zubair <fahadzub@amazon.com> Co-authored-by:
Matteo Bigoi <1781140+crisidev@users.noreply.github.com>
Showing
- codegen-server/python/src/main/kotlin/software/amazon/smithy/rust/codegen/server/python/smithy/generators/PythonServerAttributeUtils.kt 0 additions, 43 deletions...er/python/smithy/generators/PythonServerAttributeUtils.kt
- codegen-server/python/src/main/kotlin/software/amazon/smithy/rust/codegen/server/python/smithy/generators/PythonServerEnumGenerator.kt 13 additions, 3 deletions...ver/python/smithy/generators/PythonServerEnumGenerator.kt
- codegen-server/python/src/main/kotlin/software/amazon/smithy/rust/codegen/server/python/smithy/generators/PythonServerStructureGenerator.kt 11 additions, 3 deletions...ython/smithy/generators/PythonServerStructureGenerator.kt
Loading
Please register or sign in to comment