Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add Dafny standard libraries subset and partial streaming support to StandardLibrary #1321

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

robin-aws
Copy link
Contributor

@robin-aws robin-aws commented Feb 19, 2025

Description of changes:

Adds the same integration with Dafny's pending Actions standard library to partially support the @streaming trait, only when targeting Python for now.

Uses the branch of smithy-dafny from smithy-lang/smithy-dafny#788, which should be merged first.

Squash/merge commit message, if applicable:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…ithub.com:aws/aws-cryptographic-material-providers-library-dafny into robin-aws/add-dafny-stdlibs-and-partial-streaming
…ithub.com:aws/aws-cryptographic-material-providers-library-dafny into robin-aws/add-dafny-stdlibs-and-partial-streaming

# Conflicts:
#	StandardLibrary/runtimes/python/src/smithy_dafny_standard_library/internaldafny/generated/dafny_src-py.dtr
self.dafny_byte_stream = dafny_byte_stream

def read(self, size: int = -1) -> bytes:
# TODO: assert size is -1, buffer,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to resolve this TODO at this time?

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