python type hint multiple return code example
Example 1: use python type hint for multiple return values
from typing import Tuple
def func() -> Tuple[str, str]:
return 'a', 'b'
Example 2: typing multiple types
from typing import Union
def foo(client_id: str) -> Union[list,bool]