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

S3Path.touch with exist_ok=True on existing file raises an error #216

Open
Koncopd opened this issue Apr 20, 2024 · 2 comments
Open

S3Path.touch with exist_ok=True on existing file raises an error #216

Koncopd opened this issue Apr 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Koncopd
Copy link

Koncopd commented Apr 20, 2024

S3Path.touch with exist_ok=True on existing file raises an error.
Here exist_ok=True sets truncate to False
and this raises the error here

On 0.1.4 it worked fine.

@ap--
Copy link
Collaborator

ap-- commented Apr 20, 2024

Thank you for opening the issue, @Koncopd .

Would you be interested in adding a test case for the touch behavior to the base tests?

Cheers,
Andreas

@ap-- ap-- added the bug Something isn't working label Apr 25, 2024
@Koncopd
Copy link
Author

Koncopd commented Apr 27, 2024

Yes, i can work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants