-
-
Notifications
You must be signed in to change notification settings - Fork 127
Wrong typing for Exception.detail #56
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
Comments
|
I'd like too but don't know how to do it. And there is already |
@sobolevn Was that change released? It doesn't look like so - the last version ( |
Yes, I can make a release this week. Currently you can try |
@sobolevn Thanks for you answer! I suppose I will wait for the official release and remove |
For now type of
APIException.detail
is_Detail = Union[str, Dict[str, Any]]
. But it also could be a list.A possible solution is to set
_Detail = Union[str, List[Any], Dict[str, Any]]
. Would you mind if I make a PR?The text was updated successfully, but these errors were encountered: