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

Check if stream is seekable before using file.tell/file.seek #31

Merged
merged 1 commit into from Oct 15, 2023

Conversation

tordex
Copy link
Contributor

@tordex tordex commented Sep 25, 2023

These changes allow to use stdin/stdout as a file object for download and upload functions.

@ivknv
Copy link
Owner

ivknv commented Sep 26, 2023

This looks reasonable, though it seems we could still partially use retries (for getting the upload/download link) without disabling them entirely.
I'm currently busy, I'll take a closer look and merge it at some point later when I have the time. Thank you for the PR.

@ivknv ivknv changed the title Check if streem is seekable before using file.tell/file.seek Check if stream is seekable before using file.tell/file.seek Sep 26, 2023
@ivknv ivknv changed the base branch from master to dev October 15, 2023 11:15
@ivknv ivknv merged commit 27aff45 into ivknv:dev Oct 15, 2023
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.

None yet

2 participants