This assert causes several type checkers (both mypy and pyright) to force `obj` to be a base `HoldableObject` instead of the specialized object. Since the check itself may still be valuable as we don't have fully type annotation coverage it's simply been removed when type checking to aid in type specialization.pull/9132/head
parent
d8d09138c7
commit
580f316043
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue