Python Type Hint Return None