typing.cast은 타입체커에게 정보를 제공한다 - python

type hint cheatsheet

cast는 타입체크를 전혀 하지 않는구나...

some_none_value = None
node = cast(Node, some_none_value)
node.data # Runtime error