You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both Raises and `Yields directives are currently not shown in the documentation:
"""
Call HF API to sign in a user and get a token if credentials are valid.
<Tip>
Warning: Deprecated, will be removed in v0.7. Please use
[`HfApi.set_access_token`] instead.
</Tip>
Args:
username (`str`):
The username of the account with which to login.
password (`str`):
The password of the account with which to login.
Returns:
`str`: token if credentials are valid
Raises:
[`HTTPError`](https://2.python-requests.org/en/master/api/#requests.HTTPError) if credentials are invalid
"""
Is shown as
The text was updated successfully, but these errors were encountered:
Both
Raises
and `Yields directives are currently not shown in the documentation:Is shown as
The text was updated successfully, but these errors were encountered: