HfApi.create_repo fails in 0.5 if the org name is passed in repo_id
and organization
arguments
#821
Labels
bug
Something isn't working
As reported in huggingface/datasets#4105 if you pass a
repo_id
(containing the org name or not), and also theorganization
parameter toHfApi.create_repo
, then you get this error:This used to be allowed in 0.4 and is a breaking change that makes
push_to_hub
fail for all versions ofdatasets
.As a general rule, deprecations should also log warnings rather than fail.
The text was updated successfully, but these errors were encountered: