-
Notifications
You must be signed in to change notification settings - Fork 581
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
Support resource_group_id
in create_repo
#2324
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but just making sure, has there been any actual customer need for this?
(we can discuss on slack 🙂)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
A customer just told me that they were looking exactly for this and this PR solved their problem 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the implem @Wauplin
* Support resource_group_id in create_repo * docs * as tip * typoe
Related to slack thread (private). cc @nbroad1881 @coyotte508
Resource groups is a Enterprise feature that allows orgs to manage which members have access to a resource. This PR adds support for
resource_group_id: Optional[str]
increate_repo
. When passed, the repo will be created inside the corresponding resource group. Check out https://huggingface.co/docs/hub/en/security-resource-groups for more details about resource groups.