Skip to content
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

Update to meet latest hugie schema #77

Open
ivyleavedtoadflax opened this issue Sep 3, 2023 · 1 comment
Open

Update to meet latest hugie schema #77

ivyleavedtoadflax opened this issue Sep 3, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ivyleavedtoadflax
Copy link
Contributor

hugie endpoint list
Traceback (most recent call last):

  File "/home/matthew/.local/pipx/venvs/hugie/lib/python3.10/site-packages/hugie/endpoint.py", line 38, in list
    response.raise_for_status()

  File "/home/matthew/.local/pipx/venvs/hugie/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)

requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.endpoints.huggingface.cloud/endpoint


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/matthew/.local/bin/hugie", line 8, in <module>
    sys.exit(app())

  File "/home/matthew/.local/pipx/venvs/hugie/lib/python3.10/site-packages/hugie/endpoint.py", line 41, in list
    handle_requests_error(e)

TypeError: handle_requests_error() missing 1 required positional argument: 'data'
@nsorros nsorros added the bug Something isn't working label Sep 4, 2023
@ivyleavedtoadflax
Copy link
Contributor Author

Will be resolved in #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants