Restore old behavior of resolve_type
We can't just call super because that just raises an exception. Since we already have the accepts logic here, we just need to return the type if it is part of the accepted types.
想要评论请 注册 或 登录
We can't just call super because that just raises an exception. Since we already have the accepts logic here, we just need to return the type if it is part of the accepted types.