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

[hffs] Raise NotImplementedError on transaction commits #1736

Merged
merged 2 commits into from
Oct 13, 2023

Conversation

Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Oct 13, 2023

Related to #1733 (cc @TwoAbove)

We do not support transaction in HfFileSystem. This PR raises explicit NotImplementedError instead of allowing fs.transaction and fs.start_transaction to be used -which ends up committing files in a non-transactional a

Copy link
Contributor

@mariosasko mariosasko left a comment

Choose a reason for hiding this comment

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

LGTM!

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Oct 13, 2023

The documentation is not available anymore as the PR was closed or merged.

@Wauplin
Copy link
Contributor Author

Wauplin commented Oct 13, 2023

Thanks for the quick review!

@Wauplin Wauplin merged commit 866b927 into main Oct 13, 2023
15 of 16 checks passed
@Wauplin Wauplin deleted the hffs-transaction-not-implemented branch October 13, 2023 13:33
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.

3 participants