Python Dynamic Type Hinting Python