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

Fix stream buffering with Minio #190

Merged
merged 1 commit into from
Mar 14, 2019
Merged

Fix stream buffering with Minio #190

merged 1 commit into from
Mar 14, 2019

Conversation

nbgl
Copy link
Contributor

@nbgl nbgl commented Mar 12, 2019

This fixes the deserialisation code when it is given a Minio file. I don’t know why it fixes it.

It just does. 🤷🏼‍♂️

(It also needs to be followed by a release because otherwise the tests in data61/anonlink-entity-service#339 won’t pass.)

Copy link
Collaborator

@hardbyte hardbyte left a comment

Choose a reason for hiding this comment

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

I don't particularly like the 🤞 approach to _make_buffered - but it is consistent with Python duck typing.

@nbgl
Copy link
Contributor Author

nbgl commented Mar 14, 2019

Yeah, I don’t like that approach either. I feel I don’t know enough about the different stream subclasses to do it properly. It seems to work 🤷🏼‍♂️

@nbgl nbgl merged commit c494c43 into develop Mar 14, 2019
@nbgl nbgl deleted the fix-stream-buffering branch March 14, 2019 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants