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