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

Add identical_ok option to HfApi.upload_file method #102

Merged
merged 1 commit into from
Jun 11, 2021
Merged

Conversation

SBrandeis
Copy link
Contributor

Explicitly mention the request returns 409 when the uploaded file already exists on the hub and is identical

cc @osanseviero

Copy link
Member

@LysandreJik LysandreJik left a comment

Choose a reason for hiding this comment

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

Great, thanks a lot @SBrandeis!

@SBrandeis SBrandeis merged commit 758ce56 into main Jun 11, 2021
@SBrandeis SBrandeis deleted the upload-doc branch June 11, 2021 16:29
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