python typing multiple types for one param 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]