Skip to content

Conversation

@jonathan343
Copy link
Contributor

@jonathan343 jonathan343 commented Oct 15, 2025

Summary

This PR removes the serialize.py and deserialize.py modules from aws-sdk-bedrock-runtime. This is cleanup that was missed in the v0.1.0 release. These modules were removed from code generation in smithy-lang/smithy-python#429. See the Smithy Python Serialization Design for more info.

Note

This also removes the following SyntaxWarning when using Python 3.14:

/Users/gytndd/dev/.venv/lib/python3.14/site-packages/smithy_aws_event_stream/_private/serializers.py:65: SyntaxWarning: 'return' in a 'finally' block
  return

Testing

Installed aws-sdk-bedrock-runtime locally after the changed and verified that calls with the invoke_model_with_bidirectional_stream and converse_stream still function as expected.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jonathan343 jonathan343 merged commit 2054cd2 into develop Oct 16, 2025
2 checks passed
@jonathan343 jonathan343 deleted the remove-dead-code branch October 16, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants