python type hints two return values code example Example: typing multiple types from typing import Union def foo(client_id: str) -> Union[list,bool]