-
Notifications
You must be signed in to change notification settings - Fork 78
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
Inappropriate Exception for queries to Ukranian #49
Comments
Hi @jvacek Jonas, thanks for reporting this, we're looking into it. |
Looks like it fixed in the v1.10.0 version. |
Will the same thing happen the next time a new language is being trained? |
Yes, I think so. Take a look at this commit f761732 |
This might actually be an issue for the backend instead of the Python package actually, I would not be surprised if the response being given by the API is the cause of the exception being faulty. i.e. I would assume the other implementations of the deepl package would suffer from a similar thing |
Instead of appropriately raising
DeepLException: Bad request, message: Value for 'target_lang' not supported.
, the request throwsTooManyRequestsException: Too many requests, DeepL servers are currently experiencing high load, message: Too many requests
after ~10s of sleeping. It would be much better to raise early that it is not currently supported.The text was updated successfully, but these errors were encountered: