-
Notifications
You must be signed in to change notification settings - Fork 854
Enhance repo_type_and_id_from_hf_id of hf_api #3507
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
Enhance repo_type_and_id_from_hf_id of hf_api #3507
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. |
|
@bot /style |
|
Style bot fixed some files and pushed the changes. |
|
@Wauplin I noticed a large number of build and test failures, which seem to be related to network issues. Could this possibly be connected to my changes? I’d appreciate it if you could take a look, thank you! |
Yes that was due to temporary issues on our staging infra. It is now resolved. Note that there are still a few issues due to this PR. See all the looking into the details, this line is now failing. Could you have a look at it please? |
48c26fa to
6adcdf1
Compare
|
@Wauplin Sorry for taking so long to fix the tests. Could you please trigger the pipeline again? |
13ed689 to
136c1fc
Compare
|
@Wauplin There were still some failing tests in the previous commit, but I’ve fixed them in the latest commit. |
@Wauplin The test is passing successfully in my local environment but failing in the CI/CD pipeline. Could you please take a look and help identify what might be causing this discrepancy? |
Wauplin
left a comment
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.
Great @pulltheflower ! All tests are now passing correctly (the failing CI was not related to your PR). Last tiny comment, could you address the regex optimization comment below? Apart from that implementation looks good and tests are nice (I've also played with it a bit locall)
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.
All good! Thanks for the iterations :)
(failing CI is unrelated)

Related to issue #3494