python multiple types in list hint code example Example: typing multiple types from typing import Union def foo(client_id: str) -> Union[list,bool]