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

Allow all streams in client.push() & client.install() types, not just FS streams #436

Merged

Conversation

pimterry
Copy link

@pimterry pimterry commented Apr 6, 2023

The type used in push and install for device clients isn't quite right: it only accepts FS streams, meaning you can't stream data from anywhere but the disk. The underlying sync APIs do support any streams though, so we just need a tiny change to widen the types to allow this.

@pimterry pimterry force-pushed the fix-client-push-stream-type branch from 41eb53f to 286318c Compare April 6, 2023 17:12
Signed-off-by: Tim Perry <tim@httptoolkit.com>
@pimterry pimterry force-pushed the fix-client-push-stream-type branch from 286318c to e75f211 Compare April 6, 2023 17:15
@pimterry
Copy link
Author

pimterry commented Apr 6, 2023

(Force pushed to fix the commit sign-offs so the CI tests pass)

@koral-- koral-- merged commit 2a05697 into DeviceFarmer:master Apr 6, 2023
@pimterry pimterry deleted the fix-client-push-stream-type branch April 6, 2023 17:45
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