-
Notifications
You must be signed in to change notification settings - Fork 28.2k
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
docs: fix return type annotation of get_default_model_revision
#35982
docs: fix return type annotation of get_default_model_revision
#35982
Conversation
5dd1647
to
013bec1
Compare
Yes, this looks good! Rebased the PR and enabled doctests |
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. |
Hi @MarcoGorelli, the rebase fixed most issues but the failing TF test looks related - maybe the assumption that the return value is always Tuple[str, str] is not true in some TF cases? |
thanks @Rocketknight1 for your review! the traceback shows
and I wouldn't have expected the type annotation to influence that. Taking a look anyway Any chance you could help me with running the test please? I tried running
but it still gets skipped |
Hi @MarcoGorelli, tests are passing now! Were the failures earlier just a coincidence that were solved with a rebase? |
Awesome! I think so |
LGTM, in that case! cc @ArthurZucker @Cyrilvallez for core maintainer review |
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!
What does this PR do?
Fixes #35981
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.