Skip to content

allow duck-typing of source streams #77

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

Merged
merged 1 commit into from
Aug 30, 2018
Merged

allow duck-typing of source streams #77

merged 1 commit into from
Aug 30, 2018

Conversation

mattsb42-aws
Copy link
Member

Issue #, if available: #75

Description of changes:
Previously, we would only allow strings, bytes, BytesIO, StringIO, and file sources. This leaves out a lot of streams that look and feel close enough for what we need.

I would like to eventually properly define "this is the API that source streams must provide", but that will require more serious thought to avoid breaking people if we decide later that needs to change.

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

@mattsb42-aws mattsb42-aws requested a review from a team August 30, 2018 21:17
@mattsb42-aws mattsb42-aws merged commit 8b9d397 into aws:master Aug 30, 2018
@mattsb42-aws mattsb42-aws deleted the dev-75 branch August 30, 2018 21:31
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